#airpaz-kevin_docs

1 messages ¡ Page 1 of 1 (latest)

primal roseBOT
#

👋 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.

grand iris
#

What merchant reference are you referring to? Could you share the details in an example?

velvet snow
#

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

grand iris
#

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?

velvet snow
#

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

primal roseBOT
molten notch
#

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".

velvet snow
#

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?

molten notch
velvet snow
#

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

molten notch
#

sure, how can I help?

velvet snow
#

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

molten notch
#

yes, you'll get a payment_intent.completed event

velvet snow
#

Ok appreciate it

#

Will continue to develop this