#rc-zihua
1 messages · Page 1 of 1 (latest)
@humble lantern we'll answer any questions you have in the same thread.
hello
my problem is about apply pay
payment_intents this interface can get a client token, can you show me a example?
this param is other method ,not apple pay
so apple pay How to set up
so from what i understand, you want to create a PaymentMethod object a customer who is using Apple Pay?
yes, paymethod is apple pay,and the param how to set up
I'll suggest you use Express Checkout if you haven't spent too much time on your current implementation yet : https://site-admin.stripe.com/docs/elements/express-checkout-element/accept-a-payment
Express Checkout Element is the successor to Payment Request Button
anyway, going back to your ask about the Payment Request Button - what isn't working?
what is the problem you're facing - Are you not able to see the Apple Pay button on your page?
from the apple pay button
payment_intents is not working normal
we need payment_intents return a client token
you don't want to create a payment? you just want a client token?
i'm sorry, but I really don't understand the question. We can only communicate in english on this channel. If you're more comfortable with corresponding in Chinese, I'd recommend reaching out to https://support.stripe.com/contact/email with the problem. Our support team can communicate in Chinese and might be able to better help you and/or translate the question so that the appropriate team can help
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
can you understand payment_intents interface?
yes, i understand how PaymentIntents work
If it is an apple pay payment method, how to set param for this interface
If you're using Payment Request Button, and you want the PaymentIntent to accept an Apple Pay payment method, the PaymentIntent just needs to be able to support card as a payment method option. However, you shouldn't need to specifically configure that since by default, PaymentIntents already support card payment methods as a payment option
okay,i see, and another problem , PaymentIntents can return a client token?
Because the front-end page requires this token to complete subsequent payment actions
if you follow the instructions here : https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#html-js-complete-payment to create and complete the payment, yes, the PaymentIntent will contain a client token