strangerstudios / pmpro-register-helper

A robust plugin to collect additional fields for WordPress users. Fields can be collected at membership checkout, on the user's profile or for administrative view-only.
https://www.paidmembershipspro.com/add-ons/pmpro-register-helper-add-checkout-and-profile-fields/
29 stars 41 forks source link

File Upload Field gets cleared when Stripe requests a 3D Authentication #220

Open andrewlimaza opened 3 years ago

andrewlimaza commented 3 years ago

Describe the bug When a Stripe checkout requires 3D Secure/Authentication. The uploaded file fields are emptied and checkout is processed.

PS - Only tested with Stripe Connect. Assume it's happening on legacy Stripe method as well.

To Reproduce Steps to reproduce the behavior:

  1. Install latest Paid Memberships Pro version and setup your payment gateway to Stripe.
  2. Add a file type of field.
  3. Navigate to checkout and complete the required fields, upload a file to your custom field.
  4. Test checkout that requires 3D Secure. Approve the authentication (in sandbox).
  5. Complete checkout, navigate to your edit profile page. Fields are empty.

Expected behavior Upload fields should stay assigned to the upload button and processed.

Isolating the problem (mark completed items with an [x]):

michaelbeil commented 3 years ago

A member reported this in ticket 368369 (moderators only).

andrewlimaza commented 2 years ago

A temporary fix that may work, until this gets resolved may be to use Stripe Checkout - https://www.paidmembershipspro.com/gateway/stripe/stripe-checkout/

Alternatively, let member's upload files later from their membership account/profile page.