0 Replies
      Latest reply on Oct 9, 2019 7:38 PM by manickababu
      manickababu Level 1 Level 1 (0 points)

        Hi,

         

        I'm getting Payment Not Completed error immediately after calling completeMerchantValidation. I'm getting proper response for startSession call from apple:

         

        {"epochTimestamp":1570603094401,"expiresAt":1570606694401,"merchantSessionIdentifier":"xxxx","nonce":"49cd6793","merchantIdentifier":"xxxxx","domainName":"wixxxxxxx","displayName":"Wxxxx","signature":"3xxxxx"}

         

        my JS code:

         

        session.onvalidatemerchant =  (event) => {

                this.restService.fetchPaymentSession(event.validationURL).then(response => {

                  console.log('received response from session token:', response);

                  session.completeMerchantValidation(response);

                });

              };