#ludongming_code
1 messages ¡ Page 1 of 1 (latest)
đ 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/1315550977130102886
đ 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.
- ludongming_code, 4 days ago, 38 messages
React Native is creating a free 7-day trial subscription feature. I don't know how to configure this parameter for Apple Pay and Google Pay
Which parameter are you referring to?
The second parameter of confirmPlatformPayment
My scenario is used to collect payment methods, so how should I transfer the parameters of Apple Pay and Google Pay that I call up through ConfirmPlatformPayment
Which integration you're following with "confirmPlatformPayment"? Can you share the doc link?
This is what I see from the doc link you shared. Are you referring to applePay in initPaymentSheet()?
yes
Which specific field inside applePay hash you would like to check?
const handlePayment = async () => {
const { error } = await initPaymentSheet({
paymentIntentClientSecret,
merchantDisplayName: "YIGOLI",
applePay: {
merchantCountryCode: 'US',
},
googlePay: {
merchantCountryCode: 'US',
}
});
const { error: presentError } = await presentPaymentSheet();
};
In the payment pop-up window pulled up in the above code, you can choose between Apple Pay and bank card payment, right?
For the available payment method, it is determined by the client secret and whether the device supports the wallet payment such as Apple Pay or Google Pay
What if the device fully meets Apple Pay requirements? So users can choose Apple Pay, right
Yes, that's right!
Okay, thank you very much