#juanreyes_api

1 messages ¡ Page 1 of 1 (latest)

alpine doveBOT
#

👋 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/1374840210503762001

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

coral swallow
#

Hi synthrider! I want to understand better how the PaymentMethod relates to the PaymentIntent. Is a PaymentMethod required in order to create a PaymentIntent?

#

Also, can one create multiple PaymentMethods for a specific PAN?

#

Or will we get an error if we attempt to create another PaymentMethod for a PAN?

#

Those are some of my questions. Any help on this would be greatly appreciated.

#

@pale epoch?

pale epoch
#

hey there, what's your goal in terms of customer flow here?

#

speaking technically yes you need a payment method to complete a payment intent, but you don't necessarily need to create one explicitly, and in most cases you won't

#

the details provided via Stripe.js client side are used to create the payment method during confirmation

#

can one create multiple PaymentMethods for a specific PAN?
Yes, payment methods do not deduplicate by default, the same card can be saved as a new payment method multiple times

#

If you want to manage this, you can do so using the card fingerprint to identify existing PMs

coral swallow
#

So, here's what I have in mind. We're interested in the MCR option for PINless Debit. So, we need to know the available networks for a card. This sounds like we'd need to create a PaymentMethod object to get that information. Correct? Or is there another way for us to know the available networks for a card?

Once we know the available networks on our end, we pick a network, and then proceed with the PaymentIntent creation.

#

Technically, if we wanted to avoid storing a PaymentMethod ID on our end for a card, and we also wanted to check the available networks, could we, in theory create a PaymentMethod every time, just to get the available networks for a debit card?

#

I'm thinking of scenarios where available networks may change for a card.

pale epoch
#

What is MCR here?

#

And your referring to a Terminal integration here then?

coral swallow
#

MCR is Merchant Choice Routing. It just means that we get to decide the network through which to route the transaction.

#

We're currently trying to implement PINless Debit Routing to our existing integration. It really all comes down to checking the available network for a card and selecting one of the options. This allows us to send debit transactions through PINless debit networks when we want.

pale epoch
#

WHat countries are you doing payments in?

coral swallow
#

US

#

and others

#

What I want to understand is how to proceed with the technical aspects, some of which I've shared in my previous messages.

pale epoch
#

But this is not applicable to the US as far as i know

coral swallow
#

I can check that documentation. For now, it seems to me that we need to create a PaymentMethod first (which returns the available networks). And then create the PaymentIntent. From what you've shared, it sounds like a PaymentIntent can be created without creating a PaymentMethod first. Also, in case we want to re-check the available cards for a network, we could create another PaymentMethod for the same card.

#

If this is true, this helps me with next steps.

pale epoch
#

What kind of available networks are you referring to in the US? In France there is cartes-bancaires for example.

#

In the US, Terminal only uses the credit rails for co-branded debit cards

coral swallow
#

So, the card brands: Visa, MasterCard. And US debit networks such as Star and Pulse.

#

So, for a card, we could get Visa and Pulse as available networks.

#

Let me share with you the documentation I'm using for PINless debit.

pale epoch
#

Ok so this is not public functionality -- I can't discuss here. You should reach out to your Stripe contact or whomever granted you access to this for guidance.

coral swallow
#

I see.

pale epoch
#

I think your understanding is correct, but can't help debug that if you're having issues.

coral swallow
#

Thank you @pale epoch! Perhaps I should've led with the docs page for the functionality, hehe. Again, thanks!

pale epoch
#

NP!