strangerstudios / pmpro-payfast

Add the South African payment processing service PayFast as a gateway option for Paid Memberships Pro.
https://www.paidmembershipspro.com/add-ons/payfast-payment-gateway/
5 stars 13 forks source link

Fixes Checkout field data that gets lost when coming back from gateway #87

Closed JarrydLong closed 1 year ago

JarrydLong commented 1 year ago

Ensures that custom field data doesn't get lost when leaving the site and navigating to Payfast to process payment.

Resolves #85

Steps to recreate:

  1. Create custom fields that show up during checkout
  2. Fill out the fields and Submit
  3. Make payment through Payfast
  4. Allow Payfast to redirect back to the site. The site needs to be live so that PF can run the pmpro_after_checkout hook
  5. The checkout should be marked as success and all field data should be updated as expected