#ptman

1 messages ยท Page 1 of 1 (latest)

tired tokenBOT
cedar plinth
#

Hi ๐Ÿ‘‹ what trouble are you encountering?

karmic bramble
#

we switched from card element to payment element

#

testing with card and google pay seems to work

#

so I don't think we've managed to mess it up too badly

#

but apple pay

#

on one iphone we can't select apple pay, it's not visible

#

on another apple pay can be selected, but we just can't proceed further

#

any ideas what could be wrong?

#

we did the domain verification

cedar plinth
#

Domain verification is usually the big hurdle other than making sure the device you're using has a card already set up on it. Is your test site publicly accessible where I can take a look at it?

karmic bramble
#

sure

#

unfortunately the language is finnish

#

ok, so you can get to the situation like this:

#
  1. click on the yellow button
#
  1. there's a form for renewing prescriptions
#

the first field is the medicine

#

e.g. burana works as a search

#

the text field can be anything and the checkbox needs to be checked

#
  1. pick any doctor by clickin on yellow "valitse" (select)
#
  1. click on yellow button, which takes you to (test environment) for strong electronic authentication
#

"aktia" is the selection which just lets you click and proceed

#

(jatka is continue/proceed)

#
  1. and then you're presented with the payment element
#

sorry for it being so many steps

#

but there are many requirements for making online health related interactions secure

cedar plinth
#

Totally understand!

#

I think I missed something though, didn't see a Payment Element rendered, trying again.

karmic bramble
#

thank you for your patience

#

I think you made it

cedar plinth
#

Yup I think I did, but I'm also not seeing Apple Pay being displayed (double checking I have it set up right on my machine as it's new).

karmic bramble
#

is there a waiting period after submitting the domain to apple?

cedar plinth
#

No, it's nearly instant.

karmic bramble
#

and where in the process is that domain being correctly set up relevant?

#

since apple pay is offered as a choice on one of our iphones

#

I would assume it either isn't checked or it is correctly set up by then

cedar plinth
#

It comes into play when the Payment Element is rendered and a check is done with Apple to confirm whether the domain is set up to accept Apple Pay.

karmic bramble
#

would the result of said check be logged anywhere?

cedar plinth
#

I don't think so, and they would just say something like applePay: false if we did find them.

#

Nothing is jumping out at me as being wrong with your setup. I'm reaching out to teammates to have them double check.

karmic bramble
#

thank you

chrome scaffold
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

karmic bramble
#

hi tarzan

chrome scaffold
karmic bramble
#

wilco

#

ah, probably no saved card?

#

I guess I thought I would be prompted

chrome scaffold
karmic bramble
#

ok, now i get apple pay button on the documentation page

#

but still not shown in our app

chrome scaffold
#

ok that's fair

#

but at least we know that it should technically work on that phone

karmic bramble
#

and on the other phone it's possible to select apple pay in the payment element

#

but the payment element submission doesn't seem to work

chrome scaffold
#

do you have any error messages popping up?

karmic bramble
#

none

#

and none logged via sentry

#

and with some test cards we get the appropriate errors

chrome scaffold
#

ok let me dig further then

karmic bramble
#

thank you

chrome scaffold
#

I'm not seeing the Payment Element

#

would you mind showing me a screenshot of what you see on that page and a screenshot of the error as well please

karmic bramble
#

huh

#

this is how the payment element looks like to me on the phone where apple pay isn't an option

#

this is how apple pay is shown as an option on the other phone

#

and then I'm stuck at this screen

graceful yew
#

๐Ÿ‘‹

#

Took a look at your site and looks like you are using Direct Charges on a Connected Account, correct?

karmic bramble
#

yes

graceful yew
#

Looks like you registered the domain via the Connected Account's keys or Dashboard.

#

So yeah, you'll want to delete the domain registration

karmic bramble
#

we tried both, if I'm not mistaken

graceful yew
#

And re-register using your platform's API key

karmic bramble
#

ah, so remove both from platform and connected account and re-add on the platform account?

graceful yew
#

Nope sorry

#

Remove from Connected Account

#

then re-register on Connected Account but using the platform's API keys and passing the Stripe Account header

#

Don't register on Connected Account using the Dashboard or the Connected Account's API keys

karmic bramble
#

do we need to do this for each connected account?

graceful yew
#

Yep you'll need to register via the platform for each Connected Account

#

But you only need to do it once

#

So you basically just do it as a part of onboarding

karmic bramble
#

and for each we have already onboarded previously

graceful yew
#

Yep

karmic bramble
#

"The account acct_1GSMFmJU9SZr1WsC was a test account created with a testmode key, and therefore can only be used with testmode keys."

#

so we need a test connected account created with live keys?

graceful yew
#

Yes

#

In order to test Apple Pay you do need a live account because you have to register the domain in live mode

#

So you would create a live account but then just use it in test mode. You shouldn't need to actually fill out the application to use it for test mode

karmic bramble
#

thank you

#

that finally did the trick

#

none of the other documents seemed to mention connected accounts

graceful yew
#

Yeah it is a bit complex with Connect. Agreed we could make this more prominent

#

I'll file some feedback

karmic bramble
#

another thing, can I only add one webauthn security key to my account?

#

it seems I cannot add two (my primary + backup)

#

I'm also really worried about you not even seeing the payment element

#

and no errors? (not in our sentry either)

#

it will be a big problem if payment element isn't working for our customers

graceful yew
#

What do you mean by webauthn security keys exactly?

karmic bramble
#

2nd factors to the dashboard

graceful yew
#

And I don't understand "payment element not working"... it does work here.

#

It just won't show Apple Pay if the domain is not correctly registered

karmic bramble
#

ok, great that it works

graceful yew
#

Oh you are asking about Dashboard 2fa

karmic bramble
#

I was just thinking about your "I'm not seeing the Payment Element"

graceful yew
#

Ah that was my colleague. I think they navigated to the wrong page in your site

#

Took me a few tries with those steps ๐Ÿ™‚

karmic bramble
#

ok

#

thanks a bunch

#

have a good one