s8puff
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Membership] Cancellation of subscriptionI’m sorry many times.
I created a new secret key and set it, but it didn’t work.
There was a new failure in the log of successful subscription creation.
[2021/12/14 10:46:53] - SUCCESS: Subscriber ID is present. Retrieving member account from the database. Subscr_id: sub_********* [2021/12/14 10:46:53] - FAILURE: No associated active member record found for this notification.Is this also related to the failure to cancel the subscription?
- This reply was modified 4 years, 6 months ago by s8puff.
Forum: Plugins
In reply to: [Simple Membership] Cancellation of subscriptionthanks so much. It has improved a little.
However, I still get the error.[2021/12/09 22:02:22] - SUCCESS: Stripe SCA Subscription IPN (HTTP POST) received. Processing request... [2021/12/09 22:02:23] - SUCCESS: Stripe SCA Subscription charge successful. [2021/12/09 22:02:24] - SUCCESS: swpm_handle_subsc_signup_stand_alone(). Custom value: subsc_ref=3&user_ip=***.***.***.***&swpm_id=2, Unique reference: cus_************** [2021/12/09 22:02:24] - SUCCESS: Modifying the existing membership profile... Member ID: 2 [2021/12/09 22:02:24] - SUCCESS: Setting access starts date value to: 2021-12-09 [2021/12/09 22:02:24] - SUCCESS: Updating the current membership level (4) of this member to the newly paid level (3) [2021/12/09 22:02:24] - SUCCESS: swpm_membership_level_changed action triggered. Member ID: 2, Old Level: 4, New Level: 3 [2021/12/09 22:02:24] - SUCCESS: Retrieving user record for member ID: 2 [2021/12/09 22:02:24] - SUCCESS: Calling user role update function. [2021/12/09 22:02:24] - SUCCESS: User role updated. [2021/12/09 22:02:24] - SUCCESS: Member upgrade/update completion email successfully sent to: **********@gmail.com [2021/12/09 22:02:24] - SUCCESS: Transaction data saved. [2021/12/09 22:02:24] - SUCCESS: Redirecting customer to: https://*********/thankyou/ [2021/12/09 22:02:24] - SUCCESS: End of Stripe SCA Subscription IPN processing.The subscription has been created successfully.
[2021/12/09 22:13:28] - SUCCESS: Attempting to cancel Stripe Subscription sub_******** [2021/12/09 22:13:28] - FAILURE: Error occurred during Stripe Subscription cancellation. No API key provided. (HINT: set your API key using "Stripe::setApiKey(<API-KEY>)". You can generate API keys from the Stripe web interface. See https://stripe.com/api for details, or email [email protected] if you have any questions. [2021/12/09 22:13:28] - FAILURE: Error details: null [2021/12/09 22:13:28] - SUCCESS: Stripe Subscription has been cancelled.Something is failing.
The API key has already been set.I am sorry that I am not good at English and it is difficult to understand.
Forum: Plugins
In reply to: [Simple Membership] Cancellation of subscriptionYes. Of course, the test mode key has been removed from all settings. Searching the database does not leave any test keys.
thank you.
Forum: Plugins
In reply to: [Simple Membership] Cancellation of subscriptionIt turned out a little.
When debug mode was enabled, the following log was output.
FAILURE: Error details: {"code":"resource_missing","doc_url":"https:\/\/stripe.com\/docs\/error-codes\/resource-missing","message":"No such subscription: 'sub_****************'; a similar object exists in live mode, but a test mode key was used to make this request.","param":"id","type":"invalid_request_error"}But, of course, I’m trying it in a production environment.
Forum: Plugins
In reply to: [Simple Membership] Cancellation of subscriptionI understand that.
What you can do with the sandbox cannot be done in production.
Deleting a user does not automatically cancel the stripe subscription.
Help me.Forum: Plugins
In reply to: [Simple Membership] Cancellation of subscriptionThank you for your reply. Does that mean that deleting a user doesn’t automatically delete the subscription?