Apple Pay completeMerchantValidation(merchantSession)

Hi.

When I pass the response from my merchant validation to completeMerchantValidation(merchantSession) nothing happens the payment sheet still just spins as processing.

I was ecpecting it to change to thumb print etc.. to move onto the next stage.

I'm getting no errors and get a unique session id returned everytime in a format like

SSH0D4F440DD640424BB09A9868BE0A0EC7_916523AAED1343F5BC5815E12BEE9250AFFDC1A17C46B0DE5A943F0F94927C24

I am including merchantIdentifier domainName displayName

merchantIdentifier and domainName match exactly as per my account displayName I just entered random

I have placed debug alert just before completeMerchantValidation(merchantSession) and can see the session id

if the apple server responds with a session id like above can there be anything else going wrong?

I mean would it still return the session id if it doesn't verifiy the certificate etc?

Please advise

Jason

Replies

Is completeMerchantValidation(merchantSession) expecting a string like

SSH0D4F440DD640424BB09A9868BE0A0EC7_916523AAED1343F5BC5815E12BEE9250AFFDC1A17C46B0DE5A943F0F94927C24

or an object like

{"merchantSession": "SSH0D4F440DD640424BB09A9868BE0A0EC7_916523AAED1343F5BC5815E12BEE9250AFFDC1A17C46B0DE5A943F0F94927C24"}

??