Questions tagged [applepayjs]

Apple Pay JS is a JavaScript SDK available for Safari in iOS 10 and macOS Sierra for accepting Apple Pay payments on the web.

Apple Pay JS is a JavaScript SDK available for Safari in iOS 10 and macOS Sierra for accepting Apple Pay payments on the web.

The Apple Pay Javascript API is analogous to the PassKit API for using Apple Pay in iOS apps.

92 questions
1
vote
0 answers

How to create apple pay sandbox account and add card into wallet for testing apple pay

I am facing an issue related to apple pay sandbox testing. I have followed all steps that mentioned on apple developer documentation for testing an apple pay on sandbox account. Please can anyone guide me on below questions How can I create sandbox…
1
vote
0 answers

Apple pay billing address in valid in @paytabs/react-native-paytabs

I'm trying to implement Apple pay with Paytabs using with @paytabs/react-native-paytabs library and getting the error of Billing Address is invalid I am using the sandbox for testing with the following documentation…
1
vote
0 answers

Apple Pay Register domain API issue

We tried to register domain using this endpoint https://apple-pay-gateway.apple.com/paymentservices/registerMerchant and the request is: { "domainNames": ["domain-name"], "encryptTo": "merchant-id", "partnerInternalMerchantIdentifier":…
Hosny
  • 821
  • 1
  • 13
  • 25
1
vote
0 answers

How to integrate apple pay in react js without using stripe?

I want to integrate apple pay in our project using Cybersource but due to lack of documentation, I didn't get any way to integrate the apple pay button on our website and I am a little confused about some methods like canMakePayment,…
1
vote
2 answers

Can i test applepay in localhost react?

Hi I'm trying to test applepay on localhost but get the following error InvalidAccessError: Trying to start an Apple Pay session from an insecure document How should I solve this issue ?
Sunstrike527
  • 515
  • 1
  • 4
  • 17
1
vote
2 answers

Apple Pay, Payment Not Complete Web JS

I have followed the documentation on apple website regarding apple pay. onValidateMerchant and completeMerchantValidation work perfectly but right after that it jumps to oncancel. I have messages at are printed to the screen within onpaymentselected…
Dev Team
  • 11
  • 3
1
vote
1 answer

Apple Pay Payment Services Exception merchantId=1234ABCD not registered for domain=xyz.com

I experienced this error when my server made a session token request to start an "Apple Pay on the Web" session.
David
  • 895
  • 8
  • 12
1
vote
0 answers

Keep getting "35 - error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca" when trying to validate merchant using Apple Pay Web

TLDR: I can't pass merchant validation for some reason and think it might be either I have been struggling trying to make my Apple Pay application work for over a month now and have finally decided to ask for some help. Errors I get when…
1
vote
1 answer

ApplePay js - custom error message for completeShippingContactSelection

I'd like to add custom error message to ApplePay when shipping address is invalid. We have following code (that shows generic error message) applePay.session.completeShippingContactSelection( ApplePaySession.STATUS_FAILURE, [], { label:…
Kazuki
  • 1,462
  • 14
  • 34
1
vote
3 answers

Not able to get Apple Pay payment session

We are trying to implement ApplePay on the web in my project. As per apple documentation i am getting the validation url from applejs api onvalidatemerchant function and i am passing this validation url to a node js route to get the apple payment…
vignesh d
  • 235
  • 3
  • 6
  • 15
1
vote
0 answers

Will Apple Pay Web work if the domain of the server on which it is developed does not coincide with production?

There is a server on which I develop a website with apple pay web, there is a server for production. Their domains are different. For in apple pay I have registered a domain, the one that will be on the prod server. I am trying to make test payments…
1
vote
0 answers

ApplePay JS fails before onpaymentauthorized

I'm trying to set up Apple Pay on our website and having trouble getting the "onpaymentauthorized" to fire. Everything is working up to that point, the sheet comes down and the other handlers fire and respond as expected. However once authenticate…
Ryan
  • 414
  • 1
  • 6
  • 16
1
vote
0 answers

options for TVOS E-Commerce

I am developing an E-Commerce app that will allow users to buy meals from our partners. Wondering what are the options for the checking out? I know that TVOS doesn't have Apple Pay, but I am wondering if we can do it with users' iPhone, just like…
kaho
  • 4,746
  • 1
  • 16
  • 24
1
vote
1 answer

Receiving Type Error when calling completeValidateMerchant in Apple Pay

We are trying to add Apple Pay to our existing web site. I have the payment sheet popping up, and am seeing the call to onvalidatemerchant which in turn calls our server that returns what looks to be a valid Merchant Session object, but when I call…
Coding Smackdown
  • 1,173
  • 8
  • 14
1
vote
2 answers

ApplePayJS InvalidAccessError

Trying to integrate ApplePayJS into my website and getting this annoying message:: InvalidAccessError Code 15 "The object does not support the operation or argument" Everything seems to have been going well and now nothing works.
Simon_Weaver
  • 140,023
  • 84
  • 646
  • 689