#cylian40

1 messages · Page 1 of 1 (latest)

dusty saffronBOT
minor void
#

Hi 👋

Do you mean Stripe Checkout?

cursive vortex
#

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'; ?>

#

Is that even possible?

minor void
cursive vortex
#

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

minor void
#

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

gray oasis
#

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?

minor void
#

Is the code you are using identical to what we show in our doc?

#

How are you creating the Checkout session?

minor void
#

That code is redirecting the user's browser

#

This is exactly the opposite of what the embedded checkout flow does

gray oasis
#

What is the difference ? You create a page that you call on your site, that's the principle.

minor void
#

Not if you want to embed the form

dusty saffronBOT
gray oasis
dire warren
#

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?

dire warren
#

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

cursive vortex
#

the checkout.php page functions very well

dire warren
#

Is that full page the embedded checkout element?

cursive vortex
#

yes