#airpaz-kevin_docs
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/1339518779830571020
đ 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.
- airpaz-kevin_docs, 21 hours ago, 42 messages
- airpaz-kevin_docs, 23 hours ago, 15 messages
- airpaz-kevin_docs, 1 day ago, 3 messages
- airpaz-kevin_docs, 1 day ago, 23 messages
What merchant reference are you referring to? Could you share the details in an example?
A field like metadata in paymentintent creation where you can add merchant reference
Our merchant reference is like invoice id
100202021
Something like that
Or ARPZ010101123
Express Checkout Element is just to collect the payment method details using wallets such as Apple Pay and Google Pay. Where do you want the merchant reference like this to be?
So if the applepay button shows up
And I clicked on them then try to pay
There will be no transaction occured?
I'm expecting the merchant reference to be linked to the transaction, not sure if its going to be a payment intent or a charge
Cause in the express checkout element, there is no payment intent creation or a charge creation
I guess my question would be more like what should I do after I done with express checkout element if I wanted to complete the applepay payment flow
hi! I'm taking over this thread.
once the payment is successful, you'll get a PaymentIntent ID to track the payment. I'm not sure what you mean by "merchant reference".
Oh I will get payment intent ID?
Where will I get this payment intent ID?
Maybe you could help me to verify if I'm on track right now with the integration
This is what I have done so far, I create an element and mount the applepay button in my client side
My expectation at this stage, user would be able to click the applepay button and pay sucessfully
So there is no payment intent creation
Am I missing something?
yes you do have to create a PaymentIntent. I recommend reading this gudie in details: https://docs.stripe.com/elements/express-checkout-element/accept-a-payment
I see, so after preparing the elements, I have to create payment intent and confirm the payment using the client_secret from payment intent
I think this is what I'm missing
Appreciate the help soma
Oh 1 more thing
sure, how can I help?
Do we get a payment intent webhook when the payment completed?
I have setup the webhook for payment intent completed event in the stripe dashboard
yes, you'll get a payment_intent.completed event