Integration and Testing

Authorize.Net API questions and help with your payment integration.

Posts: 1
Registered: ‎04-21-2021

apple pay on web gives payment not completed error

Hi ,

I completed merchant validation from server side and pass its response to session.completeMerchantValidation() method .. but whenever i passed response to it "payment not completed " popup occurred , i used verified domain and certificates for apple pay web .


when i clicked on "buy now" button it shows processing at end of the payment dialog (instead of showing button ) after completing merchant validation it gives payment not completed dialog . so please help me for this.

front end code for session begin and merchant validation

const session_new = new ApplePaySession(10, ApplePayPaymentRequest);
//const session_new = new ApplePaySession(8, ApplePayPaymentRequest);

session_new.onvalidatemerchant = ({ validationURL }) => {
fetch('merchant validation url', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
body: JSON.stringify({validationURL: validationURL})
}).then(res => res.json())
.then(json => {

}).catch((error) => {
alert(error+"------------- in line")

response from merchant validation url

{ epochTimestamp: 1619001540582,
expiresAt: 1619005140582,
nonce: 'dca42609',
domainName: 'my verified domain name',
'apple signin:1736CEED7C7DF9B168D4........',
retries: 0 }


if something wrong with my code then also let me know


Posts: 1
Registered: ‎05-29-2021

Re: apple pay on web gives payment not completed error

Hi Pavanjadhav,


Did you solve your problem regarding this?