#shimla_code

1 messages ยท Page 1 of 1 (latest)

alpine bladeBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1327337302544093286

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

daring pine
#

Hi there

#

Can you provide more details about what you're doing exactly? If you're following a specific guide, please share a link to that guide here

tulip lion
#

Hi there,

Okay

#

Context : I would like to integrate Stripe payment solution on my customer e-commerce website

#

Question :
I would like generate de token for this PHP Class :

#

How can I do it ?

daring pine
#

Taking a step back, can you share how you plan on integrating with Stripe? Do you plan on using Checkout, the PaymentElement, or something else?

tulip lion
#

Thanks for the link

#

Actully, I try Checkout

#

But I'm asking who's the best between : Checkout and The PaymentElement ?

#

Do you have an idea ?

daring pine
#

There's no "best" necessarily, it ultimately depends on the developer resources you have at your disposal, how much customization you plan on making to the look/feel of your payment page, and if you plan on integrating directly with PaymentIntents or if you want Stripe to create those for you automatically

#

And then reviewing and comparing the two quickstart guides for Checkout and the PaymentElement so you get an idea of the integration effort for both:

tulip lion
#

๐Ÿ‘

#

Thanks

daring pine
#

Sure thing!

tulip lion
#

I have an another question :

#

With Checkout : Payment form have address email field. Is it possible to delete it ?

daring pine
#

Not exactly. If you create a Checkout Session for an existing customer object and that customer has a saved email address, the Checkout Session will prepopulate the email address. Other than that, it's not possible to remove the email field

tulip lion
#

OKay

#

If the customer doesn't exist ?

daring pine
#

If the Session was created without passing an existing customer, the email field will be displayed in the Session and the end customer who is paying will need to provide a value. The email field cannot be hidden

tulip lion
#

Okay

#

Here is what I would like :

#

The e-commerce website that I'm going to put into production currently has no registered customers

#

In this cas, I would liket o integrate your solution without having the email address in the form

#

If is not possible with Checkout , is it possible with PaymentElement ?

daring pine
#

Yes, it's possible with the PaymentElement. For card payments with the PaymentElement, email address is not required. I recommend using the quickstart guide for the PaymentElement to test this out

tulip lion
#

๐Ÿ‘