Simple Membership Plugin › Forums › Simple Membership Plugin › Error with Stripe SCA button
- This topic has 9 replies, 3 voices, and was last updated 6 years, 7 months ago by
pedrogon.
-
AuthorPosts
-
March 7, 2020 at 12:42 pm #19894
pedrogon
ParticipantThe Stripe SCA buttons are not working in our website, they send to a WordPress error page (blank, no error is shown).
Stripe legacy buy now buttons and Paypal buttons are working OK.
Any clue of what could be the problem or where to look?Also, another question: Stripe legacy buttons (non-SCA) can still be used? I see they are deprecated, but not sure what that means (if they don’t really work or they will stop working soon, if they are illegal now to use in Europe…)
Thanks!
March 8, 2020 at 9:24 pm #19897mbrsolution
ModeratorHi,
Just to make sure you have set up the SCA Stripe buttons correctly, please check the following documentations.
sca-compliant-stripe-buy-now-button
sca-compliant-stripe-subscription-button
Thank you
March 9, 2020 at 12:00 am #19901pedrogon
ParticipantYes, I’ve done that (I’m using SCA Buy now, not the subscription one).
Please help me find what is causing the error, I want to launch a product and is waiting for this.
April 5, 2020 at 6:26 pm #20029pedrogon
ParticipantStill waiting for an answer, almost 1 month later…
April 5, 2020 at 9:22 pm #20031mbrsolution
ModeratorMy apologies for the delay. I have submitted a message to the developers to investigate further your issue.
Thank you
April 5, 2020 at 11:29 pm #20032admin
KeymasterI have tested the payment buttons myself just now and I can confirm that the buttons work fine.
There is some kind of conflict happening somewhere on this site. Please do the following?
https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/Is there any error in the server’s error log (that gets created when you use the button)?
This is a site specific issue since I don’t see this issue anywhere else. Site specific issues are hard to solve with a free support ticket since it involves logging into your site and checking many things to figure out what could be conflicting.
April 6, 2020 at 9:17 am #20046pedrogon
ParticipantThe error log says the following when I try to pay with the Stripe SCA button:
Notice: Undefined variable: error_msg in /var/www/ongs/wp-content/plugins/simple-membership/ipn/swpm-stripe-sca-buy-now-ipn.php on line 89
Notice: Undefined variable: error_msg in /var/www/ongs/wp-content/plugins/simple-membership/ipn/swpm-stripe-sca-buy-now-ipn.php on line 90
If I try the legacy buttons (non-SCA) they work OK and no error, so I guess is a problem with your SCA buttons.
Also, you didn’t answer the other question of my original message:
Stripe legacy buttons (non-SCA) can still be used? I see they are deprecated, but not sure what that means (if they don’t really work or they will stop working soon, if they are illegal now to use in Europe…)
April 6, 2020 at 9:21 am #20047pedrogon
ParticipantI tried deactivating all other plugins and changing to the default theme. It still shows the same error with the SCA button.
April 7, 2020 at 12:10 am #20049admin
KeymasterThere is an exception being thrown in this site which in turn is creating this other error. I think this server’s PHP version can’t handle the Stripe’s SCA library.
Yes, the legacy buttons can still be used.
April 7, 2020 at 6:40 am #20058pedrogon
ParticipantThanks for the answer!
Is there I way in which I can see the details of the exception/error?
I’m using PHP 7.2. Which version is required for Stripe’s SCA library?
-
AuthorPosts
- You must be logged in to reply to this topic.