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
You would expect MemberPress to also do something for gateways that don't have the create-subscriptions capability, but unfortunately that is not the case.
The text was updated successfully, but these errors were encountered:
What exactly do we want to report / expect if create-subscriptions is not supported by a payment gateway?
Draft support message
Hi,
We noticed you're setting the create-subscriptions capability in all payment gateways, however this capability seems not be used anywhere. What is it used for?
Background: a user of our Pronamic Pay plugin asked us to add support for a specific payment method. The payment method does not support recurring payments, so we don't set the create-subscriptions capability. However, the method can still be used for recurring memberships now, which results in a gateway error.
The default MemberPress gateways all have the
create-subscriptions
capability:https://github.com/pronamic/memberpress/search?q=create-subscriptions
That is why we also have this in the Pronamic Pay MemberPress Add-On:
https://github.com/pronamic/wp-pronamic-pay-memberpress/blob/a9ed77a71e2c64ab14e744461661aba8ee08a121/src/Gateways/Gateway.php#L99-L118
You would expect MemberPress to also do something for gateways that don't have the
create-subscriptions
capability, but unfortunately that is not the case.The text was updated successfully, but these errors were encountered: