Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to construct 'PaymentRequest' #5

Open
JamesB7 opened this issue Sep 3, 2019 · 3 comments
Open

Failed to construct 'PaymentRequest' #5

JamesB7 opened this issue Sep 3, 2019 · 3 comments

Comments

@JamesB7
Copy link

JamesB7 commented Sep 3, 2019

Hello,
Chrome is giving me this error when I click on a button prepared with GlobalPayments.paymentRequest.setup:

Must be in a top-level browsing context or an iframe needs to specify 'allowpaymentrequest' explicitly

I have not created an iframe, so I assume GlobalPayments.js is doing this. Is this a bug, or am I doing something wrong?

I am using 1.0.1 at https://api2-c.heartlandportico.com/SecureSubmit.v1/token/gp-1.0.1/globalpayments.js because there appears to be nothing newer at heartlandportico.com...

THanks!

James

@slogsdon
Copy link
Contributor

slogsdon commented Sep 4, 2019

@JamesB7 Thanks for bringing this to our attention. We are working on getting a fix pushed out to correct this behavior.

@slogsdon
Copy link
Contributor

@JamesB7 Small update. We have the necessary changes in place to support Payment Request and browser autofill. We're currently under an organization-wide code freeze, but once that's lifted, we are looking to get this change pushed out to production. We'll circle back around once it's available.

@slogsdon
Copy link
Contributor

slogsdon commented Oct 8, 2019

Apologies for the delay. We had some unforeseen restrictions put in place internally that added time to our deployment. This has been pushed out to our production environment. The latest version is now 1.3.0 available at:

https://api2.heartlandportico.com/SecureSubmit.v1/token/gp-1.3.0/globalpayments.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants