pronamic / wp-pronamic-pay-formidable-forms

Formidable Forms driver for the WordPress payment processing library.
http://www.wp-pay.org/extensions/formidable-forms/
2 stars 1 forks source link

Redirect after payment #6

Open rvdsteege opened 5 months ago

rvdsteege commented 5 months ago

From customer:

We have a form with a Pronamic Pay - Form action. We also have an action: Confirmation → Redirect to url. However, the action: "Confirmation" is not used and the user is redirected after payment to the url: /betalingsstatus/betaling-voltooid/. As a result, we cannot submit additional form fields as a parameter.

It appears there are some issues with redirects after payments:

https://github.com/pronamic/wp-pronamic-pay-formidable-forms/blob/d22491f07308aea2b8e7715d9c076054033d3268/src/Extension.php#L202-L241

Before Formidable Forms 6.0, forms had a 'success action' setting:

Scherm­afbeelding 2024-04-30 om 11 09 45

Internal Help Scout ticket: https://secure.helpscout.net/conversation/2581191408/27163