Questions tagged [payment-request-api]
59 questions
0
votes
0 answers
How to handle Possile Unhandled Promise Rejection (id:0)
I'm trying to connect my app to the google pay however when I try it I'm getting some sort of error!
I'm already tried to put in array but it didn't work.
global.PaymentRequest = require('react-native-payments').PaymentRequest;
export default…

Jamiryo
- 92
- 6
0
votes
1 answer
How do I authenticate with the Tikkie API?
How do I authenticate with the Tikkie API? I want to use the Tikkie API but I not sure how to get started with the authentication.

Bram Sinke
- 193
- 8
0
votes
1 answer
Failed to construct 'PaymentRequest': Iterator getter is not callable
I'm following a tutorial about new PaymentRequest API but I get an error:
Uncaught TypeError: Failed to construct 'PaymentRequest': Iterator
getter is not callable.
at startPayment ((index):45)
function startPayment(){
if…

Tomasz Mularczyk
- 34,501
- 19
- 112
- 166
0
votes
1 answer
How do I mix Stripe's javascript paymentRequest with PHP handling serverside when integrating Apple Pay
I am using Stripe elements to make an asychronous paymentRequest to charge customers. The request returns 'success' irrespective of the charge result so what's the best way to return a state so I can handle the charge state client side and report a…
0
votes
1 answer
Adaptive Cards: Payment Request
I am currently working on a bot project where i am trying to utilize Microsoft adaptive cards to try send a PaymentRequest to the user. I created a dummy paymentrequest object and inserted it into a Hero card like the documentation says.
var…

Zapcrack
- 25
- 8
0
votes
1 answer
Adding custom card information to Payment Request
I want to implement payment request api to my website.
Payment request popup lists users saved cards associated with mobile phone and Google&Apple accounts.
I also want to put custom credit cards into that popup because we have already implemented…

Ahmet Can Güven
- 5,392
- 4
- 38
- 59
0
votes
1 answer
How to use AngularDart with payment request API? or does the payment request API exclusive to Javascript?
Usually payment request API being used with Javascript, is there any example on how to use payment request API with AngularDart? as for now i never seen someone using it which make me think is that possible. Or does the Payment Request API intended…

mehmet adi
- 113
- 1
- 3
- 10
0
votes
1 answer
Payment Request API - Basic Card on Safari
I am trying to implement Payment Request API on a project I'm working on. I'm only using basic-card payment method. When I call canMakePayment() it correctly resolves to true in Chrome in situations that it should be true, but it never resolves to…

Kostas Dimakis
- 1,143
- 1
- 10
- 20
0
votes
1 answer
Creating a payment request without 'basic-card' fails
I'm trying to create an integration to Google Pay via the payment request api. This all works fine until I remove basic-card from the supported methods.
I get Unexpected developer error.
Does anyone know how to create a payment request without…

Andrew Davis
- 460
- 3
- 17
0
votes
2 answers
TypeScript and canMakePayment
I'm trying to make a system that uses the Payment Request Api and for the most part its successful, but TypeScript doesn't seem to have a definition for canMakePayment under the PaymentRequest object.
Am I missing something or do I need to cast it…

Andrew Davis
- 460
- 3
- 17
0
votes
1 answer
Payment Request API: What is the Payee Account?
I was looking at the Payment Request API which is apparently available on some browsers but I was wondering, where/how do you set the account to which the payments get sent? I see nowhere in the following code that specifies an account to which the…

user1477388
- 20,790
- 32
- 144
- 264
-1
votes
2 answers
Isn't this a security risk?
I am about to implement payments on a website.
I have seen solutions like using this Javascript code
function onBuyClicked() {
if (!window.PaymentRequest) {
// PaymentRequest API is not available. Forwarding to
// legacy form based…

Duck
- 34,902
- 47
- 248
- 470
-1
votes
1 answer
Receive payments using PaymentRequest without 3rd party processors
Google Chrome now supports receiving payments with PaymentRequest API using a list of 3rd party payment processors.
But I cannot understand if Google supports receiving payments with Google account only, without 3rd party processors, probably with…

Oleg
- 22,300
- 9
- 68
- 84
-2
votes
2 answers
How to get the already stored payment card data in iOS/Android?
The goal is to get user's payment card data in iOS/Android apps, but not by just having them enter it. I'd like them to be able to use a platform-wide context which already keeps the payment card details. Much like the Payment Request API on the…

Daniel Birowsky Popeski
- 8,752
- 12
- 60
- 125