Forum Replies Created
-
AuthorPosts
-
Sonjoe
ParticipantIf anybody is curious where you can set this, it is in “wp-plugins/simple-membership/ipn/swpm-stripe-sca-checkout-session-create.php” i added above the line 169 this: ‘locale’ => ‘de’, and it works.
I think if you have one-off payment you should add this above the line 153.
May 3, 2024 at 9:07 am in reply to: Member is not recorded as Logged in via the registration form #28031Sonjoe
ParticipantUpvote. If i log-in via the plugin login form, i am logged-in only in plugin but not in WP. I have to log-in via WP login form then i am logged-in in plugin and (of course) in WP as well.
May 2, 2024 at 9:24 am in reply to: Active subscription not detected even if the subscription is active #28011Sonjoe
ParticipantHi, it is not needed, after the last update 4.4.6. the cancelation already works. Maybe a custom page for the successful cancelation would be better looking π
Thank you
May 2, 2024 at 1:58 am in reply to: Active subscription not detected even if the subscription is active #28000Sonjoe
ParticipantThis is in my log file after new recurring subscription and login:
[2024/05/01 08:44:11] – SUCCESS: Log file reset
——————————————————————[2024/05/01 08:44:21] – SUCCESS: Stripe SCA checkout session create request received. Processing request…
[2024/05/01 08:44:22] – SUCCESS: Stripe SCA checkout session created successfully.
[2024/05/01 08:45:17] – SUCCESS: Stripe SCA Subscription IPN (HTTP POST) received. Processing request…
[2024/05/01 08:45:18] – SUCCESS: Stripe SCA Subscription charge successful.
[2024/05/01 08:45:18] – SUCCESS: swpm_handle_subsc_signup_stand_alone(). Custom value: subsc_ref=2&user_ip=194.1.216.14, Unique reference: cus_Q1a4ErpfN66C1k
[2024/05/01 08:45:18] – SUCCESS: Could not find any record using the given email address (karol@example.com). Attempting to query database using the unique reference: cus_Q1a4ErpfN66C1k
[2024/05/01 08:45:18] – SUCCESS: Did not find a match for an existing member profile for the given reference. This must be a new payment from a new member.
[2024/05/01 08:45:18] – SUCCESS: Creating new member account. Membership level ID: 2, Subscriber ID value: sub_1PBWuXFzY8YweDVDzTdR52wI
[2024/05/01 08:45:18] – SUCCESS: Member signup URL: https://devel.example.com/join-us/signup/?member_id=4&code=c92b7816a4208da198e91f0e90d9412f
[2024/05/01 08:45:19] – SUCCESS: Member signup (prompt to complete registration) email successfully sent to: karol@example.com
[2024/05/01 08:45:19] – SUCCESS: Transaction data saved.
[2024/05/01 08:45:19] – SUCCESS: Redirecting customer to: https://devel.example.com/payment-successful/
[2024/05/01 08:45:19] – SUCCESS: End of Stripe SCA Subscription IPN processing.——————————————————————
[2024/05/01 08:45:25] – SUCCESS: Stripe subscription webhook received: invoice.payment_succeeded. Checking if we need to handle this webhook.
[2024/05/01 08:45:25] – SUCCESS: End of Stripe subscription webhook processing. Webhook type: invoice.payment_succeeded
[2024/05/01 08:45:26] – SUCCESS: Stripe subscription webhook received: customer.subscription.updated. Checking if we need to handle this webhook.
[2024/05/01 08:45:26] – SUCCESS: Stripe customer.subscription.updated webhook status: active
[2024/05/01 08:45:26] – SUCCESS: Updating the access start date if applicable for this subscription payment. Subscriber ID: sub_1PBWuXFzY8YweDVDzTdR52wI, Email: , Account status: active
[2024/05/01 08:45:26] – SUCCESS: Found a record in the member table. The Member ID of the account to check is: 4 Membership Level: 2
[2024/05/01 08:45:26] – SUCCESS: Updated the member profile with current date as the subscription start date.
[2024/05/01 08:45:26] – SUCCESS: Value after update – Subscriber ID: sub_1PBWuXFzY8YweDVDzTdR52wI, Start Date: 2024-05-01
[2024/05/01 08:45:26] – SUCCESS: End of Stripe subscription webhook processing. Webhook type: customer.subscription.updated
[2024/05/01 08:45:52] – SUCCESS: Form builder addon – registration complete email sent to: karol@example.com From Email Address value used: Example.com <noreply@example.com>
[2024/05/01 08:45:52] – SUCCESS: Form builder addon – admin notification email sent to: admin@example.com
[2024/05/01 08:45:52] – SUCCESS: Auto login after registration feature is enabled in settings. Performing auto login for user: karol
[2024/05/01 08:45:53] – SUCCESS: Handling auto login request. The login related debug log file will contain additional details.The fatal error by subscription cancelation is still there and still nothing appears about this error in log files.
Thanks
April 29, 2024 at 12:08 pm in reply to: Active subscription not detected even if the subscription is active #27987Sonjoe
ParticipantHello.
I enabled the Debug mode. There is nothing in logs. Before the testing i did reset the logs.
[2024/04/29 13:57:52] – SUCCESS: Log file reset
——————————————————————Nothing else. Even if i click more times on Cancel subscription, nothing appears in log file.
Only the WordPress Fatal error shows up and the cancelation not works:Fatal error: Uncaught Error: Call to undefined method SWPM_Utils_Subscriptions::load() in /devel/wp-content/plugins/simple-membership/classes/class.swpm-wp-loaded-tasks.php:28 Stack trace: #0 /devel/wp-content/plugins/simple-membership/classes/class.simple-wp-membership.php(817): SwpmWpLoadedTasks->do_wp_loaded_tasks() #1 /devel/wp-includes/class-wp-hook.php(324): SimpleWpMembership->handle_wp_loaded_tasks() #2 /devel/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /devel/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /devel/wp-settings.php(717): do_action() #5 /devel/wp-config.php(105): require_once(ββ¦β) #6 /devel/wp-load.php(50): require_once(ββ¦β) #7 /devel/wp-blog-header.php(13): require_once(ββ¦β) #8 /devel/index.php(17): require(ββ¦β) #9 {main} thrown in /devel/wp-content/plugins/simple-membership/classes/class.swpm-wp-loaded-tasks.php on line 28
I bought already Form Builder and Members directory, i need cancelation to work to run my project. Thanks π
April 27, 2024 at 8:37 am in reply to: Active subscription not detected even if the subscription is active #27985Sonjoe
ParticipantI went trough the troubleshooting without luck.
Right now i am using this shortcode [swpm_show_subscriptions_and_cancel_link] and after resave the page where it is, is showing info about userβs subscription and the Cancel subscription button, but after click on Cancel, there is the same Fatal error mentioned above.
My Stripe API ID for buttons are (have two buttons for recurring subs)
Button 1: price_1P9VE1FzY8YweDVDHb11yOim
Button 2: price_1P9V4xFzY8YweDVDJoP0LpmTUsing SCA Subscription buttons.
Right know i am not at computer to check the debug mode, once i will be, will send.
Thank you
April 27, 2024 at 6:00 am in reply to: Active subscription not detected even if the subscription is active #27982Sonjoe
Participantin βtest modeβ i mean iam using the Stripe payments in Test Mode not in Live.
As you wrote, in Stripe test mode is not possible to cancel subscription by user?
Iβll enable the debug mode later and put here debug code.
Thanks
April 26, 2024 at 8:59 pm in reply to: Active subscription not detected even if the subscription is active #27976Sonjoe
ParticipantIf i use this shortcode [swpm_stripe_subscription_cancel_link] and click on Cancel subscription, there is a Fatal error:
Fatal error: Uncaught Error: Call to undefined method SWPM_Utils_Subscriptions::load() in /devel/wp-content/plugins/simple-membership/classes/class.swpm-wp-loaded-tasks.php:28 Stack trace: #0 /devel/wp-content/plugins/simple-membership/classes/class.simple-wp-membership.php(817): SwpmWpLoadedTasks->do_wp_loaded_tasks() #1 /devel/wp-includes/class-wp-hook.php(324): SimpleWpMembership->handle_wp_loaded_tasks() #2 /devel/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /devel/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /devel/wp-settings.php(717): do_action() #5 /devel/wp-config.php(105): require_once(‘…’) #6 /devel/wp-load.php(50): require_once(‘…’) #7 /devel/wp-blog-header.php(13): require_once(‘…’) #8 /devel/index.php(17): require(‘…’) #9 {main} thrown in /devel/wp-content/plugins/simple-membership/classes/class.swpm-wp-loaded-tasks.php on line 28
I am using a No Expiry membership level
April 26, 2024 at 8:47 pm in reply to: Active subscription not detected even if the subscription is active #27974Sonjoe
ParticipantOn the other member profile, the alert show this message:
Error: Stripe API keys are not configured on your site!
Active subscription not detected for the member account with the username: arnoldI have the API keys configured, the subscriptions works, recurring payments works. Only this subscription and cancel shortcode does not work.
Thanks for help π
-
AuthorPosts