Forum Replies Created
-
AuthorPosts
-
December 3, 2021 at 5:00 pm in reply to: StripePaymentsSubscription Fatal Error – If minimum amount is left as default: 0 #4433alexanderfoxcParticipant
Hi Francesco and thank you for your report.
I’m unable to reproduce it on my test server.
Which PHP version are you using?
alexanderfoxcParticipantHi Zaky.
iDEAL payment method does not support recurring payments directly. Stripe suggests to use SEPA Direct Debit for this instead.
At the moment, our plugin does not support SEPA Direct Debit. Last time I checked, it was in beta mode on Stripe. Now I can see it is no longer in beta.
We will discuss the possibility to add SEPA Direct Debit support to our plugin. Cannot provide any ETA on this at the moment though.
alexanderfoxcParticipantHi Jesper.
There are two hooks related to subscription deletion –
asp_subscription_ended
andasp_subscription_canceled
. The latter is what you need. Here’s how you can hook to it:add_action ('asp_subscription_canceled', 'asp_subscription_canceled_handler', 10, 2); function asp_subscription_canceled_handler ($sub_id, $event_data) { ASP_Debug_Logger::log(json_encode($event_data)); }
$sub_id
is Stripe’s subscription ID
$event_data
is event data received from Stripe’s hook.This code dumps event data into plugin’s debug log (if it’s enabled). This way you would be able to see what kind of data is available.
To trigger the event, just create a subscription in test mode and then cancel it using cancel URL.
alexanderfoxcParticipantHi Nathan.
This can be achieved by writing a custom add-on that will handle this.
I have quickly composed an example add-on for you – https://github.com/Arsenal21/stripe-payments-enhancements/releases/tag/0.0.12. Just download .zip file and install it as a normal WP plugin.
The add-on checks if custom field and email field match. If not, it shows error and blocks form submit. Feel free to alter it per your needs.
June 3, 2021 at 8:46 pm in reply to: Issue with checkout information – doesn't match the products purchased #4029alexanderfoxcParticipantHi.
This seems like caching issues. Please make sure your checkout page is excluded from the cache (e.g. caching plugin, server cache etc.).
alexanderfoxcParticipantHi Steve.
Please enable debug log on Stripe Payments settings page.
Then create a new TEST mode subscription plan, create a product and set this test subscription for the product. Then make a test payment using following test CC:4242 4242 4242 4242
11/22
123Let me know if there is anything shows up in debug log.
alexanderfoxcParticipantCan you please get in touch via my email [removed]? I have a couple of questions that shouldn’t be discussed in public (related to your server config etc).
alexanderfoxcParticipantThank you. Now I can see what happens.
For some reason, some customers get their session cookie deleted by the browser. This can happen if they use Incognito mode in browser, but I doubt most of your customers do that. I couldn’t reproduce it in Incognito mode in Chrome browser though, the payment goes through just fine. The only method of reproducing this is to delete this session cookie in browser at the middle of the payment process (e.g. when you’re redirected to iDEAL confirmation page).
Anyway, I have created a new testing version of the core plugin. It has cookie lifetime increased to 7 days (it was previously set to “until browser is closed”). Can you please install it and let me know if this helps?
alexanderfoxcParticipantThank you very much, this is helpful.
I have created a special version of Stripe Payments plugin with extended logging functionality. It should help us determine when exactly the things are going wrong during the payment process. When we get this kind of info, we’ll be able to understand why.
Please install this testing version https://s-plugins.com/testing-version/. Don’t get alerted by the “testing” thing, the version is only a bit different from current stable version (2.0.44).
Now, if payment error occurs, the debug log would have the additional info we need. It should also have the info that customer entered to the custom field, so this should help you to process those orders internally as well.
alexanderfoxcParticipant– client fills in the form
– client pays the ideal
– client receives error
– client receives stripe receipt of paymentWhat kind of error is displayed to the client?
alexanderfoxcParticipantOne more thing: do you have
Send Email On Payment Failure
option enabled? If so, are you getting any additional info in that email? For example, in debug data, is there any info on custom fields etc?alexanderfoxcParticipantHi, no all are latin letters. Our customers only use ideal.
Thank you. I will do some more tests and get back to you.
I don’t see in the settings how to disable creditcard option or how to make ideal option the default one.
This is not possible at the moment, but sounds like a good feature. I have created a feature request on this in our inner system.
alexanderfoxcParticipantThank you.
Is all the is information filled in by the customers using Latin letters? Or could there be Arabic letters in some fields?
Also, which method is used for failed payments mostly – credit card or iDEAL?
alexanderfoxcParticipantHi.
This is definitely shouldn’t work like that, so something is wrong.
First of all, are you using the latest versions of Stripe Payments plugin and add-ons? You might want to install Update Checker plugin for the add-ons: https://s-plugins.com/update-checker-plugin-for-the-addons/
Also, can you provide the URL to the payment page on your site?
alexanderfoxcParticipantHi.
Do you have any security plugins installed on your website?
-
AuthorPosts