#conrad-at-pronto_api

1 messages ยท Page 1 of 1 (latest)

broken edgeBOT
#

๐Ÿ‘‹ 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/1298028413113597953

๐Ÿ“ 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.

modern spear
#

Hi there

tough badger
#

hello

#

I was reporting what looks like a bug for how domains are filtered (or not filtered ๐Ÿ˜€ ) but we do have a larger underlying issue with Apple Pay sessions not being created as expected.

Can we look at that too after you have had a chance to review the filtering issues?

modern spear
#

Yep, we can! Taking a look at the video you shared

tough badger
#

Sandbox Platform account ID
acct_1Q8nLfIEeIH1gPwZ

Sandbox Connect account ID
acct_1Q8oRCIj0xieSpiY

Domain ID
pmd_1QAL7aIEeIH1gPwZxQm9AE6i

#

Note: the domain we are using, tickets.stage.seastreak.com was previously used for Apple Pay transactions on the sandbox Platform account directly. And prior to that with a completely separate Stripe account (Transit Demo, acct_1Nnm3REJWlU7eFc0)

modern spear
tough badger
#

yes

#

test:seastreak-24

#

Maybe this old account is still causing trouble somehow...there is no option to delete the domain completely though.

modern spear
#

Can you share that pmd_ ID here? just copy paste from that page in the Dashboard

tough badger
#

pmd_1Ot9RpEJWlU7eFc0ywmHBWpz

#

it's ok for you to delete if you like

modern spear
#

I see pmd_1Ot9RpEJWlU7eFc0ywmHBWpz is disabled which should be fine

#

I think something else is happening here

tough badger
#

Yes most likely. Just wanted to share the unique history on this domain.

modern spear
#

If I visit https://tickets.stage.seastreak.com now, I see a publishable key for acct_1Q8nLfIEeIH1gPwZ is being used but you're also passing stripeAccount: 'acct_1Q8oRCIj0xieSpiY'. Is your goal here to use direct charges?

tough badger
#

The pub key ending in Pwz belongs to the Platform account

#

This is our first implementation of Connect Express. We have approx 5 Connect Standard merchants.

#

We haven't figure out yet how exactly we will be setting payments. Most likely with destination charges. That's up next. We were first trying to get Apple Pay working again since it's the default payment method in our flow for iOS and Mac OS users.

modern spear
#

I see, okay

tough badger
#

but without this, non-Apple Pay charges work just fine as is.

#

We were thinking it's an issue with Apple domain verification.

modern spear
#

If your goal is to test destination charges, you should remove stripeAccount: 'acct_1Q8oRCIj0xieSpiY'

tough badger
#

Oddlly, the Apple Pay button is displayed. Usually when Apple Pay doesn't work on Stripe the whole button is hidden.

modern spear
tough badger
modern spear
#

Not that it's not compatible but we strongly recommend against Express + direct

tough badger
#

yes makes sense

#

so do we replace stripeAccount: 'acct_1Q8oRCIj0xieSpiY' with on_behalf_of flow?

#

We need to do on behalf of because the end user (ferry passengers) do not know who Pronto is. They are buying from Seastreak. And the statement descriptor needs to be Seastreak.

modern spear
tough badger
#

Are Destination and On behalf of different from each other?

modern spear
#

Can you share a link to the doc where that screenshot is taken from?

tough badger
#

There is no separate category for "On behalf of".

#

And this is how we are currently initiating direct charges. Which I understand we shouldn't do as Express and will change.

tough badger
modern spear
tough badger
#

yes that looks good. It's in our scheduled story. But how does this effect Apple Pay? We verified the connect domain.

modern spear
#

Hold on, let's take a step back. I think we should align on what you're looking to test and then we can get your account and domain registration in the right state

tough badger
#

Ok

#

Our current goal is just to get Apple Pay working with direct charges

#

We believe this should work since we verified the domain on the connect account

modern spear
tough badger
#

Let me try that last one

#

that's the response using the platform key

modern spear
#

Right, okay

tough badger
#

how do I specify I want to see the connect merchant?

modern spear
tough badger
#

let me try the Transit Demo one also

#

pmd_1Ot9RqEJWlU7eFc0jxb9Te77

#

That's in Test mode on Transit Demo

#

the plot thickens ๐Ÿฟ

modern spear
#

In the API response for pmd_1Ot9RqEJWlU7eFc0jxb9Te77, enabled: false is what maps to the Disabled status in the Dashboard

tough badger
#

ok, and that automatically disables apple pay registration?

modern spear
tough badger
#

sure

#

I've done that probably 10+ times over the last week. Will do a freshie.

modern spear
#

Still, keep in mind we're just testing here. You really shouldn't use direct charges with Express accounts

tough badger
#

agreed

#

Doesnt seem to take...

#

What about tracing apwc_1QAL4DIj0xieSpiYkF4Ybi8V ?

modern spear
tough badger
#

with platform key and stripe-account header?

tough badger
#

now we're cooking with gas (maybe)

#

should i try safari and see?

modern spear
#

๐Ÿ‘

tough badger
#

success on ios and mac os

#

you da man roadrunner!

modern spear
#

Amazing! Thanks for being patient here, just had to make sure we took it one step at a time

tough badger
#

so the apple pay domain verification we were doing only works for Standard Connect accounts?

#

and what we did here is register the domain specifically for the sandbox account, even though the instructions say:

#

Live mode domains will also be registered in test mode.

modern spear
#

I think what you were doing before used an older endpoint. We're moving towards using /payment_method_domains instead though any previously-registered domains should still work

tough badger
#

gotcha

#

things are moving in a great direction, but admittedly it's confusing when you have both Test and Sandbox available.

#

If we had a choice i'd probably like to hide Test mode completely for our new accounts so its not even possible to end up there.

#

And only use sandboxes.

modern spear
#

Right, it cannot be both. Sandboxes are a bit new/still in preview so there might be something happening there