Help for stripe payment
Autor: Franck M.
Visited 3311,
Followers 1,
Udostępniony 0
Hi,
I see in this post https://helpcenter.websitex5.com/pl/post/183690 that Mark seems to have the solution for stripe.
I try this and the widget appears with good parameters price, name, order #, but when I validate the payment the following page http://www.MYWEBSITE.COM/cart/your-server-side-code is opening with a wonderful 404 Not found.
I try to create this page your-server-side-code.php on the cart directory with the stripe code in step 2 on their webpage https://stripe.com/docs/quickstart but it's the same result... it doesn't work.
If someone have an idea...
Thanks in advance.
Franck
Posted on the
Autor
Thanks to incomedia to help us to integrate easily these basics functionnality in the "PRO" version
Hi Franck!
Sorry for keepeing you wait, unfortunately we cannot provide support during the weekend, but I am here now to help you with this issue.
Did you correctly inserted the code for this external service? Did you customize the [PRICE] and [ORDER_NO] tags into the code? Or do you have difficulties in customize it? If I got it right, you correctly inserted and customized the code, but when placing and paying an order, you are redirected to a empty page. Is this correct?
Can you please provide me with the URL for your website, so I can check?
If you want to make sure that the code you have used is corerct, please attach a txt so we can verify.
Thanks! Kind regards.
Autor
Hi Elisa,
Happy for your answer
The problem is with the stripe integration :
here is the code provided by stripe
<form action="your-server-side-code" method="POST">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_EBQDnksyYyKaDxsRd0IWclKz"
data-amount=[PRICE,100, ###,@@]
data-name="LUXINBAG"
data-description=[ORDER_NO]
data-image="https://stripe.com/img/documentation/checkout/marketplace.png"
data-locale="auto"
data-zip-code="true"
data-currency="eur">
</script>
</form>
I just change the data amount, data-name,data-description and the data currency
For that it's correct the payment window appear, but when I click on payment button there's a blank 404 page !
You can try online with the stripe payment in test with all number you want in the field... it's a test box.
The website adress is http://www.luxinbag.com
With the button we send a token and wait for the payment validation response from the provider (stripe) and there is the problem ... how to recover this answer ?
Thanks in advance.
Franck
Autor
Hi Elisa,
Some news about payment code integration ?
Thanks in advance.
Franck
Hi Franck!
Can you please provide me with the still uncustomized code you have been provided from the payment service? You don't have to customize all the field you mentioned, you just have to customize the [PRICE] and [ORDER_NO] tags.
Thanks! Kind regards.
Autor
Hi Elisa,
Here's the code :
<form action="your-server-side-code"method="POST">
<script src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_EBQDnksyYyKaDxsRd0IWclKz"
data-amount="999"data-name="name"
data-description="Widget"
data-image="https://stripe.com/img/documentation/checkout/marketplace.png"
data-locale="auto"data-zip-code="true"
data-currency="hkd">
</script>
</form>
Thanks
Hi Franck,
I attached the script. You should only customize the bord parts
<form action="your-server-side-code"method="POST">
<script src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_EBQDnksyYyKaDxsRd0IWclKz"
data-amount=[PRICE]
data-name="name"
data-description=[ORDER_NO]
data-image="https://stripe.com/img/documentation/checkout/marketplace.png"
data-locale="auto"data-zip-code="true"
data-currency="hkd">
</script>
</form>
If you are not sure and you want to make sure if you also have to customize the other aspects, please get in touch with the service provider, so they can tell you more about this.
Thanks!
Autor
Hi Elisa,
But I had already make it !!! and it doesn't work, why to send me the same code after a week ?
One more time, we have to find ourself the solution to overcome to lack of the software, and it's a proof that websitex5 is not a pro software for e-commerce !
We have to do YOUR job because Incomedia is unable to solve the problem.
once again I do not thank you !
Hi Franck,
I have tried using
<form action="your-server-side-code"method="POST">
<script src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_EBQDnksyYyKaDxsRd0IWclKz"
data-amount=[PRICE]
data-name="name"
data-description=[ORDER_NO]
data-image="https://stripe.com/img/documentation/checkout/marketplace.png"
data-locale="auto"data-zip-code="true"
data-currency="hkd">
</script>
</form>
Then exported the website and did a test order and, as you can see from the screenshot attached, I did not get the 404 page.
Where do you get the 404 page? Can you post a screenshot?
Thanks! Kind regards.
Autor
Hi Elisa,
I see you're at the beginning of the process ... courage, you did 10% of the job in 8 days... fill the form and click on ok and you will see the 404 error
I have now the solution in the totality and stripe payment are now ok and I'm sure it will help for other types of payment.
I will make a tutorial for all users because since the beginning of my problem with other payments (nov 2017) :
https://helpcenter.websitex5.com/pl/post/181557
I don't have solution from the technical support of websitex5.
And now since 8 days, I publish this new post, you are at the point to edit the Stripe form !!!
Once again, I do not thank you because since 8 days I have to do your job, and I'm so disappointed to do your job and l spent my time to find the solution that I expected from you.
See you on a next publication with the tutorial !
Regards
Franck
Autor
The solution, here :
https://helpcenter.websitex5.com/pl/post/188531