Forum Replies Created
-
AuthorPosts
-
AdminKeymaster
Please try the following. Go to the following interface of the plugin:
Stripe Payments -> Settings -> Advanced Settings
Look for the following checkbox in the “Additional Settings” section there:
Disable Buttons Before Javascript Loads
Check that option and save it.
Does it work better after that?
AdminKeymasterHi, Stripe uses AVS for street address and zip code matching. If selected, Strip will decline the card for no match. This prevents use from a stolen card as the address is probably unknown even when a thief has the card in his or her possession. I see on your plugin I can request to collect the addresses. I take it this is for my benefit for mailing latter but I do not see that the plugin is utilizing Strip’s AVS. Does your plugin use Stripe AVS when collecting addresses? If not, please allow this function. Thank you.
AdminKeymasterWhat do you mean by verify address with Stripe?
AdminKeymasterPlease try the following. Go to the following interface of the plugin:
Stripe Payments -> Settings -> Advanced Settings
Look for the following checkbox in the “Additional Settings” section there:
Disable Buttons Before Javascript Loads
Check that option and save it.
Does it work better after that?
AdminKeymasterLog file data from yesterday below, first entry was successful, then 6 failures later in the day. Thinking it might have been the same person trying multiple times since the failures were within minutes of each other.
[04/24/2018 4:10 PM] – Payment processing started.
[04/24/2018 4:10 PM] – Triggering hook for addons to process posted data if needed.
[04/24/2018 4:10 PM] – Checking received data.
[04/24/2018 4:10 PM] – Got product ID: 29. Trying to get info from database.
[04/24/2018 4:10 PM] – Got required product info from database.
[04/24/2018 4:10 PM] – Getting API keys and trying to create a charge.
[04/24/2018 4:10 PM] – Firing pre-payment hook.
[04/24/2018 4:10 PM] – Processing payment.
[04/24/2018 4:10 PM] – Firing post-payment hooks.
[04/24/2018 4:10 PM] – Payment has been processed successfully.[04/24/2018 9:26 PM] – Payment processing started.
[04/24/2018 9:26 PM] – Triggering hook for addons to process posted data if needed.
[04/24/2018 9:26 PM] – Checking received data.
[04/24/2018 9:26 PM] – FAILURE: Invalid Stripe TokenAdminKeymaster[asp_product id=”29″]
AdminKeymasterWhat shortcode are you using?
AdminKeymasterHello !
That’s perfect you’ve pointed the problem very well, thank you very much as it was pretty urgent 🙂
AdminKeymasterCan you please do a little test for me (since this is your test site).
Open the following file of the plugin:
stripe-payments/public/includes/class-shortcode-asp.php
Go to line number 349. The following line:
$item_price = $price * 100;
Change it to the following and save the file:
$item_price = floatval($price) * 100;
Does it make a difference after that?
AdminKeymasterHi,
Here is the link to the page : 45e5087b.ngrok.io/page-test-a-supprimer/
(I’m in local so it’s not very fast yet)
Don’t pay attention to the form, the sortcode is right below 🙂 Thank you for the helpAdminKeymasterThe shortcode looks fine. Can you please share a link to the page where you have the Stripe donation button? That way I can take inspect the values on the site.
AdminKeymasterHi 🙂 Thank you for your answer.
The shortcode I’m using is : [asp_product id=”560″]
For the amount to order, I didn’t write anything so it is the default value 1. For the price, it is the same because it is for donation, I want people to donate the amount they want. What do you think ?
AdminKeymasterWe don’t have anything with ACH at the moment.
AdminKeymasterThat usually happens if a price or quantity amount is using an incorrect value somewhere. What is the exact shortcode that you are using?
April 20, 2018 at 4:11 pm in reply to: Stripe Payment Plug-in is failing with this error message. #665AdminKeymasterThe price amount in the shortcode looks to be “0.0”. That is not a valid amount for Stripe. Stripe has a minimum amount I believe. So try setting your product price correctly.
-
AuthorPosts