#m0uka_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/1278064780636196887
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
I don't believe you can pass multiple items under regularBilling
can you link the docs you're referring for the official API?
hmm now lookin back maybe i misunderstood their docs, i see lines here https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentrequest/1916120-lineitems but https://developer.apple.com/documentation/apple_pay_on_the_web/applepayrecurringpaymentrequest/3955957-regularbilling here is just a singular line
Lines is different
yeah, my bad - would there be any way to define multiple of these?
lines is to show multiple line items on Apple Pay modal which this: https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#display-line-items
say a customer wants to checkout 2 subscriptions at once, we handle the payments using setupintents/paymentintnents
i see, thanks!
but is this for recurring payments too?
I don't think mode of payment matters.. My understanding is that line items can be used to show details on the modal regardless of it being one-time payment versus recurring
gotcha, guessing there's no way how to define multiple merchant tokens with the express checkout element then?
Correct
regularBilling only supports one line item: https://developer.apple.com/documentation/apple_pay_on_the_web/applepayrecurringpaymentrequest/3955957-regularbilling
A line item in a payment request—for example, total, tax, discount, or grand total.
okay, thanks for the help, guess i will have to use a different approach