#ray_affirm-testing

1 messages · Page 1 of 1 (latest)

dapper loomBOT
#

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

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

ivory turtle
#

Hi 👋

Can you share the code you are using to call createAffirm?

eternal bridge
#

When I set name="LeBron James", it can be pulled up normally, but when I assign Ray, the Affirm page cannot be pulled up.

#

I am using a test environment

ivory turtle
#

The parameters you are passing are basically what we describe in our API reference. In this case the name attribute is a full name as our API ref mentions here. Because of this, there is a validation requiring at least two names (given & surname).

eternal bridge
#

OK, thanks

ivory turtle
#

No because it's up to the Customer to authenticate with Affirm. The merchant integration does not provide the account number. Ass for authenticating, the only advice we have is

When redirected to the Affirm sandbox, Affirm may ask for the last four digits of your SSN. Affirm suggests using '0000' or '5678'.

eternal bridge
#

The page I entered is like this. Isn't this the page for the sandbox environment?

ivory turtle
#

That does appear to be the Affirm sandbox. Unfortunately Stripe doesn't control how that appears or what information they request. However, I can ask that we collect test mode phone numbers.

Can you try 10000000000? Just in case

eternal bridge
#

This doesn't work. I tried to enter a maximum of 9 zeros.

ivory turtle
#

I'm asking my colleagues. if we know of any test numbers for this.

eternal bridge
#

okay

ivory turtle
#

try entering all zeros

#

you have a 1 at the start

#

You can see is the banner at the bottom of the screen, they have already shared the test mode code you should use

#

Can you share the Payment Intent ID?

eternal bridge
#

How to check Payment Intent ID?

ivory turtle
#

Okay my colleague just found in Affirms testing doc that you can provide any valid US phone number and this number won't actually be contacted so you don't need access to it.

eternal bridge
#

The following is 123456. I tried it and also tried entering all 0s, but it didn't work.

ivory turtle
#

123456 is the confirmation code. As I mentioned, you need to provide a valid US phone number.

eternal bridge
#

I am debugging a Canadian number now, so I should also use a Canadian number, right?

ivory turtle
#

The Affirm doc says:

A valid US cell phone number (you do not need access to this number)

#

We don't control Affirm's sandbox so we have go off what they provide

eternal bridge
#

okay

#

Regarding the name parameter, if our customers only leave their first or last name, how should we handle it? Without forcing customers to keep both their first and last name,

ivory turtle
#

Affirm requires a full name so that is what you need to collect

eternal bridge
#

I didn’t see this sentence “A valid US cell phone number (you do not need access to this number)” in the document. Could you send me the link to your document?

ivory turtle
#

A valid US cell phone number (you do not need access to this number) that you will use in all subsequent checkout attempts

#

It is in the Initiate and Abandon Affirm Payment Flow section

eternal bridge
#

Verification passed, thank you very much

ivory turtle
#

Great 🙂 Happy to help

dapper loomBOT