#cylian40
1 messages · Page 1 of 1 (latest)
yes
I managed to do what I wanted as forms based on the ZIP file. https://dev.dayhosting.fr/commandes/checkout.php
But I would like to put this form in a page and I can’t. https://dev.dayhosting.fr/commandes/paiement.php
On this page, I have essyer <iframe src="https://dev.dayhosting.fr/commandes/checkout.php"></iframe>
But I also tried to do <?php include 'https://dev.dayhosting.fr/commandes/checkout.php'; ?>
DayHosting - Hebergeur Fraçais - Des petits prix pour des services d'une grande qualité
Is that even possible?
You shared a bunch of links but that doesn't help me understand what you are trying to do.
- You got the flow you wanted using Checkout with a full page redirect, correct?
- Have you reviewed our docs on how to embed Checkout? https://stripe.com/docs/payments/checkout/how-checkout-works?payment-ui=embeddable-payment-form
Currently, I have a chechout.php page that is the form. I would like this page to appear in the other. The problem is that the checkout.php page I tried to integrate into my payment.php page loads endlessly without displaying
We have a whole separate integration that shows you how you can embed the Checkout form in your own site.
It is fundamentally different that just loading your checkout.php in another page.
I recommend reading the doc I linked above thoroughly
Good evening,
we have already read this documentation, and the integration is already done in our site, just the page never loads, could you help us resolve this?
Is the code you are using identical to what we show in our doc?
How are you creating the Checkout session?
That code is redirecting the user's browser
This is exactly the opposite of what the embedded checkout flow does
What is the difference ? You create a page that you call on your site, that's the principle.
Not if you want to embed the form
We are looking to put your payment form in a <div> of our site, this is something that is doable. In the last part of 3 of this documentation (which we followed to the letter), it is clearly written that we can personalize it and above all, put it in a <div>
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=embedded-checkout
Sorry still catching up and I am a bit unclear on what is happening. Does your page have an iframe that displays the page with the embedded checkout form?
Like is checkout.php the page that uses embedded checkout, and you are trying to render checkout.php via an iframe on another page?
yes
If you directly go to the page with the embedded payment element, does that render properly for you?
It may not be intended to be rendered from an iframe
Is that full page the embedded checkout element?
yes