Issue with Form Submission and PayPal Payment Confirmation

I have an issue with my Gravity Forms and PayPal integration. Currently, when the customer submits the form, it is submitted immediately, regardless of whether the payment is successful or not. Email notifications are only sent if the payment is completed, but the form itself is still submitted even if the payment fails. I’ve set the notifications to be triggered when the payment is completed. The issue arises when a 100% discount code is applied, as no payment is required, and the notification is not sent since the “payment completed” option doesn’t apply in this case.

I would like the form entry not to be submitted if a payment is required but is declined. However, if no payment is required (in the case of a discount code), the entry should be submitted.

Is it also possible to prevent the form from being submitted until the payment is approved by PayPal? Currently, even if the payment is declined, an order confirmation is still displayed, whereas with Stripe, this wasn’t the case. I understand that PayPal works differently, but I find this to be an issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.