#season0284

1 messages · Page 1 of 1 (latest)

steel perchBOT
brazen scroll
#

hello! When you implement your integration, you would usually use Stripe Elements to collect the payment method details e.g. card number.

If you want to use a Stripe hosted page to accept payment i.e. Checkout Sessions, you can take a look at the quickstart : https://stripe.com/docs/checkout/quickstart

If you want to build your own UI/UX to accept payment, you would typically use what we call the Payment Element, you can take a look at the quickstart here : https://stripe.com/docs/payments/quickstart

Learn how to embed a custom Stripe payment form in your website or application. Build a checkout form with Elements to complete a payment using various payment methods.

hardy stag
brazen scroll
#

what do you mean by the value of the paymentMethod field is what the front-end developer gets? Can you explain in more detail?

steel perchBOT
wise forge
# brazen scroll what do you mean by `the value of the paymentMethod field is what the front-end ...


In the test environment, when I simulated the create a paymentIntent and confirm a paymentIntent steps, It is found that when the paymentMethod device in the confirm a paymentIntent interface is set to the corresponding payment method, such as pm_card_visa, the real card number will be displayed on the dashboard platform.

Is the paymentMethod value also used in the test environment for the production environment? Using the values of the test environment, will the dashboard platform actually display the customer's card number at that time?

faint trout
#

pm_card_visa is a test payment method that you can only use in test mode

wise forge
faint trout
#

What do you mean? you want to get the full card details from Stripe API?

wise forge
faint trout
wise forge
# faint trout https://stripe.com/docs/payments/save-and-reuse?platform=android&ui=payment-shee...

I don't think so. The background I received is that when expanding overseas, front-end developers will be connected to apple pay products and back-end developers will be connected to Stripe products. In practice, I learned that users would tie their bank cards to apple pay. So I think when backend developers call stripe interface, they should directly use the user's bank card information tied to apple pay. The next question I want to ask is: What value should be passed to the payment method when calling the stripeConfirm a PaymentIntent interface?

faint trout
#

I don't quite understand you, can you rephrase?

wise forge
faint trout
#

Hmm, is it about how to create a payment_method object?

wise forge
# faint trout Hmm, is it about how to create a `payment_method` object?

I think I may not know enough about the official documentation tutorial. In order to meet front-end developers can use apple pay products, back-end developers can use stripe products. Which tutorial document should I refer to? I'm familiarizing myself with the tutorial. I'll come back for advice

faint trout