#459 – Stripe

Posted in ‘Tips and Tricks’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 22 November 2016 17:12 UTC
 Hello;

I have two problems with stripe during the payment of an order:

1-when adding a coupon number and choosing the payment method stripe, the discount does not pass.
2-When choosing the payment method stripe, a payment window opens directly, even before validating the order and accepting terms and conditions..

Thank you for your reply.
 
Wednesday, 23 November 2016 05:41 UTC
Hi,

1) Discount has to added at the last just before submitting order, any changes in 3rd step will remove coupon code so that you can see the price calculation first (without coupon discount). Please try again and you will see Discounted price will be passed to Stripe API correctly.

2) When you choose Stripe, a popup comes where you have to enter your payment details, but payment will be triggered right after you submit order, not before order. Actually, Stripe works in this way, we have to pass CC information to Stripe to get a one time secret code which must be passed with payment request to Stripe API.

Hope this helps
Ronniee
 
Wednesday, 23 November 2016 22:16 UTC
Hi,

The payment is triggered before I submit order, not after.
It is triggered even without anding customer informations !
You can do à test on my website.

Thank you
 
Thursday, 24 November 2016 04:18 UTC
Let me explain how Stripe works in brief

When the customer clicks on Stripe, a popup comes where he can enter his CC information and click the Pay button. Then, Stripe Checkout sends the payment details directly to Stripe from the customer's browser, assuming the details pass basic validation. Stripe returns a token to Checkout, or an error message if the card-network validation fails. Checkout takes the returned token and stores it in the webpage's Booking Form. Then when you submit the order, Checkout submits the form and our server uses the posted token to charge the card. So, actually, Charging Request is sent to Stripe API only after order is submitted. So, there is no chance that Card is charged without submitting order. If you don't submit the order, it will not charge your CC.

Hope this helps
Ronniee
 
Thursday, 24 November 2016 06:03 UTC
Thank you for your reply but the problem still persists
I explain:
When the customer arrives at step 3
He enters his information, then he chooses the method of payment, then he clicks on "click here to finish", he accepts the terms and conditions, then he clicks on "make a booking", then the payment window opens.
In my case, when the customer chooses the payment method stripe, the payment window opens immediately, he has not yet click on make a booking nor accept the terms and conditions.
I know that the order does not pass, but it is a source of confusion for the customer.
You can do the test yourself to see what I'm talking about.
 
Thursday, 24 November 2016 16:26 UTC
Hi Mohamed,
This is the way Stripe works - they collect payment data before processing it for added security. Credit card data is passed through verification twice.

"He enters his information, then he chooses the method of payment, then he clicks on "click here to finish", he accepts the terms and conditions, then he clicks on "make a booking", then the payment window opens." - Stripe doesn't work like this because it does not send the user to their website and instead only sends Credit card information for verification.

The process that you are describing is followed by payment processors that require the customer to leave your website, complete payment on their website and return the customer to your website like PayPal.

There is no confusion from customer's side, many websites and apps operate the same way so customers are used to filling in their Credit Card details before finally clicking on "Make payment" button.

This is Stripe's process and we can not influence it in any way, we just follow their integration documentation.

Hope this helps.
Kind regards.
 
Thursday, 24 November 2016 18:42 UTC
Ok, Thank you.
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.