Open remcotolsma opened 1 year ago
Posted by @remcotolsma in https://github.com/pronamic/wp-pronamic-pay-memberpress/issues/12#issuecomment-1597238791:
I think this is MemberPress territory and we have the next MemberPress issue open for that (not yet reported to MemberPress itself as far as I know):
What exactly do we want to report / expect if create-subscriptions
is not supported by a payment gateway?
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.