You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
jQuery.Deferred exception: Cannot set property 'total' of undefined #18
This message appears in my console (Chrome) seconds later when I click the Pay button in your API Payment Web page.
I tried the code example in the readme with copy/paste, but the message stills the same.
I also checked if the total is filled as I use a variable, but even hardcoded, it still throws that error.
I noticed that the response is not redirecting to neither of these: onCompletedPayment(), onCancelledPayment() nor onExpiredPayment().
Please, let me know If you can replicate this since I am stuck with this one after I got it working.
By the way, very easy to implement! :)
I just tried in a new page with only your code and the same error appears. Here is the example to see the error (appears at console in Chrome and Edge after clicking "Pay").
index.html.txt
(made it *.txt so I could upload the HTML file).
The same issue described in the main post happens to me and I confirmed that this is broken because of the "Not Found" response a few comments above. Currently the sandbox flow is broken because of this.
Activity
exelgn commentedon Jul 14, 2021
I just tried in a new page with only your code and the same error appears. Here is the example to see the error (appears at console in Chrome and Edge after clicking "Pay").
index.html.txt
(made it *.txt so I could upload the HTML file).
exelgn commentedon Jul 14, 2021
I just saw this message in the Network tab in Chrome DevTools:
{timestamp: 1626223855042, status: 404, error: "Not Found", message: "No message available",…}
error: "Not Found"
message: "No message available"
path: "/api/v3/sandboxconsultTransactionUIID"
status: 404
timestamp: 1626223855042
exelgn commentedon Jul 14, 2021
I tested it with https (SSL) just in case, but it was the same.
https://digixel.net/index.html
mess-lelouch commentedon Jul 18, 2021
The same issue described in the main post happens to me and I confirmed that this is broken because of the "Not Found" response a few comments above. Currently the sandbox flow is broken because of this.