#standup75-applepay-checkout
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- standup-ece-applepay, 1 hour ago, 8 messages
Can you share more details? What kind of charges are you creating: direct, destination, separate charges & transfers?
I'm not sure, I create the checkout session using the following code
ui_mode: 'embedded',
mode: 'payment',
return_url: returnUrl,
redirect_on_completion: 'if_required',
customer: stripeCustomerId,
metadata: { itListId, userId },
line_items: [
{
price_data: {
currency: 'USD',
product_data: {
name,
},
unit_amount: price,
},
quantity: 1,
},
],
payment_intent_data: {
setup_future_usage: 'on_session',
transfer_group: `ItList_${itListId}_for_user_${userId}`,
},
submit_type: 'pay',
})
I'm pretty sure it's separate charge and transfer
Yep, that tracks with usage of payment_intent_data[transfer_group]
With Apple Pay + Connect + Separate Charges & Transfers, the platform needs to register your domain using your secret key: https://stripe.com/docs/payments/payment-methods/pmd-registration?platform=dashboard#register-your-domain-while-using-connect
As mentoned here, you'd omit Stripe-Account when making a call to /v1/payment_method_domains
doesn't that mean that I already did that?
Yes. I was assuming you hadn't since your original message asked if you needed to register
Do you have a link to a page where I can create a Checkout Session?
standup75-applepay-ece
go https://itlist.com/i/175 and click buy, you'll need to go though email verification before seeing the checkout page
Do you have a verified test email I can use or a link to a testing environment?
If not, could you share the ID of a recent Checkout Session where ApplePay did not show up?
standup75-applepay-checkout
ok, you can use test@itlist.com / 12345678
Okay, I do see Google Pay in Chrome but not Apple Pay on Safari. Still looking
Ah, I should have caught this from your code snippet
ApplePay can't be used with setup_future_usage so Checkout Sessions will not display this wallet
Apple essentially wants customers to see a payment sheet every time they pay with ApplePay for on-session payments
ok, I will try without now locally
I am not seeing it in safari, but I just added a card to my wallet and never tested apple pay, is there a site I can use to check I am setup correctly?
You should see ApplePay at the top of the page
(note you'll need to open this link in Safari, non private browsing)
Also, in order for ApplePay to show up, you'll need to use HTTPS
You'll need to register the ngrok domain
but then it's not a verified domain, so that might be the problem