Questions tagged [payment-request-api]
59 questions
1
vote
0 answers
Card payments with the Payment Request API not working
I am looking into the Payment Request API as a way to streamline payments on our site checkout and have run into a bit of a brick wall on how to use it with card payments. There are a few demos explaining how to use the payment request API, this one…

El Guapo
- 567
- 2
- 13
- 26
1
vote
1 answer
Payment Request API: Getting the buyer's address
I am currently looking into the W3C Payment Request API as part of a project for a new e-commerce checkout flow (mostly for supporting faster check-out using Apple Pay and Google Pay).
From looking at the API specification's change history, it looks…

Benjamin Schneider
- 57
- 8
1
vote
1 answer
Apple Pay Payment Request API iframe
There is a page with implemented payment request api, it has an Applepay button and everything works. But as soon as the page is embedded in the iframe, a SecurityError error occurs: Trying to start an Apple Pay session from a document with an…

user11088327
- 11
- 2
1
vote
1 answer
Payment Request API in Cordova
Has anyone been able to use Payment Request in a Cordova Android app?
window.PaymentRequest() always return "undefined" although the installed Chrome browser is updated and the demo works great!
Example code:
if (window.PaymentRequest) {
…

rcpinheiro
- 85
- 1
- 6
1
vote
1 answer
PayPal gateway has rejected request (#10413)
I have migrated our Magento store 1.9 to 2.3. I have only one tax policy 10% for US California customers.
But I tried to make the payment with California address it came back to cart page with error.
PayPal gateway has rejected request. The totals…

Ameer Hamza
- 11
- 1
1
vote
1 answer
Create Payment Request API
I am trying to integrate the Payment Request API for the Google Pay for Payments using javascript but my code returns a PaymentRequest is not defined error.
Here is my code.
CODE:
const supportedInstruments = [
{
supportedMethods:…

Christopher
- 11
- 1
1
vote
1 answer
Apple pay: is there a difference in payment tokens created on the web vs in-app?
I'm trying to implement apple pay on the web, with a payment provider (worldpay) which does not say they support apple pay on the web, only in-app.
To get around this, I'm trying to be cheeky and do the integration by "pretending to be an app". I…

rutchkiwi
- 427
- 3
- 14
1
vote
1 answer
What is the relation between Payment Request API and PWA?
Is Payment requests API built to work as part of PWA only, or can be used in regular web sites as well?

GyRo
- 2,586
- 5
- 30
- 38
1
vote
1 answer
Google Pay (via Payment Request API) - canMakePayment() does not resolve
I’ve been following this link as a guide for the implementation, and the official W3C guide.
Here’s my logic to display a Google Pay button on our site:
Check if window.PayentRequest is available, and if yes, then:
Build methodData, paymentDetails…

Soham Bhattacharjee
- 94
- 6
1
vote
0 answers
Why canMakePayment returns null sometimes in following case
I'm using stripe-js.
When I call this.initializePaymentRequest() at following code,
If I call initializePaymentRequest() from first observable, canMakePayment() returns Object, and I'm able to see that google pay is supported in browser.
If I call…

Mohamed
- 1,251
- 3
- 15
- 36
1
vote
1 answer
Tez Payment Request API
I'm trying to integrate Google-Tez payment in my site, But When I'm calling request.show() getting error msg as
"Payee isn't a valid merchant"
, When i call checkCanMakePayment() getting error msg as
"Cannot query payment request"
and I…

Scorpian Selva
- 11
- 3
1
vote
1 answer
change product quantity in payment request API
can we change the product quantity if we use the payment request API?
as for now, i see example of changing the payment method, changing user contact information, changing shipping address and also selecting various type of shipping address but i…

Jehan Musa
- 15
- 2
1
vote
1 answer
Basic Web Payments Request API example
I'm trying to get a basic Web Payments Request API demo to work. As far as I understand, a pop up should show, asking which credit card I would like to use, when I run this code:
Pay here
…
khalidsafir
- 165
- 1
- 9
1
vote
1 answer
Validate Google Payment Request API
I am trying to integrate the payment request api, but I am missing something here..
How to validate payments that were made using the api?
When the user pays my callback is executed, but how do I know the payment is complete?
Here is my…

nikksan
- 3,341
- 3
- 22
- 27
1
vote
1 answer
How can I integrate Internet Banking with PaymentRequest API?
With PaymentRequest API, I can integrate with all cards, third party application but can I integrate internet banking transactions with PaymentRequest API?

Jagajit Prusty
- 2,070
- 2
- 21
- 39