WordPress Membership Plugin
Hi
While that may work and I’ll certainly bear it in mind for the future, it doesn’t really address the question as to why the SWPM Stripe cancel payment request clearly isn’t picking up the API key…
It’s really just an annoyance since everything else is working fine.
Cheers
The problem is that, in the documentation, the ID in the SMP database is the subscription, i.e. product ID, which is what Stripe sends for the cancel. However, per the logs above, you can see that when the subscription is set up, the ID being used is the Stripe customer ID:
[08/30/2019 3:03 PM] – SUCCESS: Creating new member account. Membership level ID: 2, Subscriber ID value: cus_FibvPNraRinNHz
rather than the subscription ID:
[08/30/2019 3:10 PM] – SUCCESS: Subscriber ID is present. Retrieving member account from the database. Subscr_id: sub_FibvMzEAClWFc9
and hence mismatch when it tries to delete.