7 Apr Edited #1

Not functioning on Google Chrome

Ultimate subscriber
After pressing the Add to cart button, it redirects to usercp.php?action=cart&env=bankpipe&add=1&bid=1
and displays:

{
"title": "Item added successfully",
"message": "The selected item has been added successfully to your cart.",
"action": "add"
}

After opening the cart manually it gets added, so I add a coupon and it displays in plain HTML:
{
"errors": [
"This promo code does not appear to be valid."
]
}
Which means that the notifications are attempting to get displayed.

I had the same problem when purchasing a subscription on this website, I tried Internet Explorer, there nothing happened. I managed to purchase with Microsoft Edge.
Shade 8 Apr
#2
Mind to share your Chrome configuration? Do you have any content blocker which blocks JavaScript?
Kalju 8 Apr Edited
#3
uBlock Origin, I turned it off before proceeding. I'm not sure how to share my Chrome configuration, everything should be default.
Shade 8 Apr
#4
That's kinda weird, because this website (and BankPipe itself) is tested on Chrome, Firefox, Edge and Opera both on MacOS and Windows. I cannot reproduce your issue, can you check your browser console for JS errors?
Shade 8 Apr
#5
I've debugged directly on your website: you have added a malformed "required" field. You just need to add the field's name (in your case: tos), not the entire HTML, otherwise it will not work.
Kalju 8 Apr Edited
#6
This is displayed when the requiredFields is not added in the templates.
Oh the example code takes in ' instead of ".

Uncaught SyntaxError: Unexpected identifier
at t.activateScript (rocket-loader.min.js:1)
at rocket-loader.min.js:1
at t.run (rocket-loader.min.js:1)
at rocket-loader.min.js:1
at HTMLScriptElement.<anonymous> (rocket-loader.min.js:1)
Shade 8 Apr Edited
#7
You have added "<input name='tos' type='checkbox' value='1' />" to BankPipe's settings, which is wrong. That's the code you have to actually display in your templates. BankPipe would then take "tos" (without the quotes) in the required fields setting, and will treat any input named "tos" as required before purchasing. Hope I made myself clear.