impress-org / givewp

GiveWP - The #1 Donation Plugin for WordPress. Easily accept donations and fundraise using your WordPress website.
https://givewp.com/
GNU General Public License v3.0
340 stars 191 forks source link

Form Template should work when payment gateways requires actual form submission to redirect to their checkout page #4995

Closed mehul0810 closed 1 year ago

mehul0810 commented 4 years ago

User Story

As a user, I want to see some payment gateways which require actual form submission to redirect the donor to their checkout page so that the users can leverage the benefits of the new form template.

Details

I have done some research and noticed that the payment gateways where on clicking donate button we show a donation processing screen with a hidden form having pre-populated data which on load of the page automatically submits to show a payment gateway hosted checkout page to process the payment via the supported payment methods.

Potential Payment Gateways using this method are: (There might be other payment gateways as well which need to be explored)

  1. PayuMoney
  2. iPay88 (Custom plugin I developed for a client)

When you try to process the donation with form template using the payment gateway then the payment gateway checkout page is called on submission. But, immediately redirect to donation confirmation page without waiting for the donor to process the payment.

Expected Behavior

I expect that the iframe is not supported cross-domain due to which this issue is happening.

Steps to Reproduce

  1. Create a donation form with the new form template
  2. Try processing donation with the above mentioned payment gateway

P.S.: Let me know if my custom payment gateway is required for testing the functionality.

Acceptance Criteria

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 14 additional days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for an additional 14 days with no activity.