[ApplePayJS] Payment Not Completed error fix?

Hi,


I have integrated the Applepay JS into my Website following the guide from: https://github.com/norfolkmustard/ApplePayJS


My merchantValidation object looks like :


{
"epochTimestamp":1499863886166,
"merchantSessionIdentifier":"44xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx24",
"nonce":"7xxxxxx7f",
"merchantIdentifier":"91xxxxxxxxxxxxxxxxxxxxxxx0B",
"domainName":"abc.com",
"displayName":"demoName",
"signature":"308006092a864xxxxxxxxxxxxx000000"
}


However, on passing this to session.completeMerchantValidation, I keeping getting Payment Not Completed Error and the payment sheet keeps closing immediately.




Note: I am executing my code in my local enviroment which is different from the one being passed in the domainName in the merchantValidation object.


Please help me out. Thanks in advance.

Did you manage to fix this ?? -Naga

DomainName listed above should be same as the hostname of the requestURI

Anyone got solution for this error? I am facing same issue. I am trying with same domain that i have verified but still i am getting "Payment Not Completed" error.

@Savan07 same error here any one help ?

[ApplePayJS] Payment Not Completed error fix?
 
 
Q