You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ( ! $memberpress_gateway instanceof Gateway ) {
return;
}
We may need to limit updating information to, for example, credit card information. Within MemberPress itself, the options for switching payment methods are limited:
Switch from PayPal to Stripe or Vice Versa
Sometimes a customer may have used PayPal or Stripe when they originally signed up, or they used Stripe and want to switch to PayPal.
If the customer is using PayPal and just wants to change the payment method, they can do this from within their PayPal account and do not need to switch to Stripe. But sometimes a customer will not want to update their PayPal account (or won't be able to access it anymore) in which case they would need to switch to Stripe.
In these scenarios, you would need to cancel their current membership and have them sign up again. You can have them wait until their current term ends (recommended), or if you want them to sign up again right away you will have to create a coupon for them to use to give them a prorated price.
To update payment details for a subscription we currently have this in place:
wp-pronamic-pay-memberpress/src/Gateways/Gateway.php
Lines 878 to 929 in 4218e02
It uses the mandate selection feature from https://github.com/pronamic/wp-pay-core.
If a payment method is chosen on the mandate change page from core for which no MemberPress gateway is active, a strange situation arises.
wp-pronamic-pay-memberpress/src/Extension.php
Lines 253 to 281 in 4218e02
We may need to limit updating information to, for example, credit card information. Within MemberPress itself, the options for switching payment methods are limited:
https://memberpress.com/docs/how-to-change-a-customers-payment-method/
CC @rvdsteege
The text was updated successfully, but these errors were encountered: