#wei-ma_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1251174783606067232
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
ok do you have a link to your checkout page where apple pay should show up?
Sure. But first, can you share your account id?
Want to check a few things before we do that
Ah you registered the wrong domain
Subdomain matters
You registered
accounting.igloo2.squad.dev-sageone.com not mysageone.igloo2.squad.dev-sageone.com
no, it's not.
that's why I will need to explain.
can you just click on the URL I give to you?
You will see something like Recent Sign Ups on the right side.
Just click on that, you will be redirected to accounting.igloo2
Now are you there ?
Once you are in, can you replace the URL with https://accounting.igloo2.squad.dev-sageone.com/use_assets?version=build-SBS-98687 ?
That just redirects me to https://accounting.igloo2.squad.dev-sageone.com/
Yes, but that forces you to use our UI version ๐
Now can you replace the URL with https://accounting.igloo2.squad.dev-sageone.com/invoicing/sales_invoices ?
ok done
Can you click on the invoice I created with Customer Wei Ma?
On the right side of the page, can you click on Take Card Payment ?
yeah
yeah
My colleague is going to take over here as I have to step out. We'll look further in a moment here
Thanks. Do I need to walk you colleague with the steps ?
Hi there ๐ is there any way you can give me a direct link to the problematic page? The server is very busy right now.
I'll type here:
- Visit https://mysageone.igloo2.squad.dev-sageone.com/
- Click the recent sign up on the right
- Replace url with https://accounting.igloo2.squad.dev-sageone.com/use_assets?version=build-SBS-98687
- Replace url again with https://accounting.igloo2.squad.dev-sageone.com/invoicing/sales_invoices
- Click the invoice and then click take card payment
You also mentioned this is for an Invoice, right? Can you share the ID of the Invoice object? It should have an in_ prefix.
Hi Toby, I am not sure where to find the invoice_object id.
Visit https://mysageone.igloo2.squad.dev-sageone.com/
Click the recent sign up on the right
Replace url with https://accounting.igloo2.squad.dev-sageone.com/use_assets?version=build-SBS-98687
Replace url again with https://accounting.igloo2.squad.dev-sageone.com/invoicing/sales_invoices/7fff45430c7a4c52be5c4f5bc8bc702b You should see the invoice
Looks like you're using Direct Charges with Connect. Can you try registering the domain again, but this time use the stripeAccount header to register it for the Connected Account that you're processing the payment for?
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#register-your-domain-while-using-connect
You mean running the command curl https://api.stripe.com/v1/payment_method_domains \ -u "sk_test_xxxxxxxx:" \ -H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}" \ -d domain_name="example.com" but replace the key,account id, and domain with ours?
Do I need to disable the one I already registered?
Correct
No, it can remain where it is. It may be worth cleaning up if you'll never need it, but it shouldn't impact anything if you leave it.
Ok, ran that command and return a payload telling me the status.
Apple pay is active.
What was the ID of the Connected Account that you used? I still don't see a domain registered for the one you're using on your test site.
That's your Platform Account's ID. You need to provide the ID of your Connected Account in the Stripe-Account header.
shoule it be something like pmc_xxxx ?
No, it should start with acct_, but should be the ID of your Connected Account. The same ID you use when you initialize stripe.js as the Connected Account:
https://docs.stripe.com/js/initializing#init_stripe_js-options-stripeAccount
OK, give a few minutes to find out.
Thanks Toby, we will redeploy our app and it may take some time. Can I get back to you in 30 minutes or so?
Yeah, I'll leave the thread open.
Thanks Toby, It worked now. One thing I want to confirm, Do we need to run this command for every single customer who wants to use stripe?
Yup, you'll need to register your domain on each Connected Account you want to allow to accept Apple Pay.
Got it. Thanks !. I have put our account id and our domain in this thread. Should I delete them?
If you want, but Account IDs aren't sensitive by themselves if that's your concern.
OK, that's good. Thanks.
Any time!
Now our problem had been resolved. You have a good day! Appreciate your help!