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
29
votes
3 answers

Integrating Apple Pay JS Into A Website

I'm looking into integrating Apple Pay into a website using the new Apple Pay JS SDK. The documentation is currently pretty minimal, concerning just the API declarations and how to instantiate a new ApplePaySession object. Is there any example code…
Martin Costello
  • 9,672
  • 5
  • 60
  • 72
14
votes
2 answers

Apple Pay - authorize.net returns error 153 only when live, sandbox works

After searching a lot of articles i couldn't find a solution for my problem. I have integrated ApplePay button on my site and successfuly made transactions in sandbox mode. I'm using authorize.net php SDK to generate the request. The problems…
bksi
  • 1,606
  • 1
  • 23
  • 45
7
votes
5 answers

ApplePay on WKWebview

I am trying to load ApplePay popup on WKWebView. I did my initial leg work by implementing it but it does not load up. Is there something extra I need to implement to make it work ? There is no proper documentation on apple regarding apple pay…
lifemoveson
  • 1,661
  • 8
  • 28
  • 55
6
votes
2 answers

Issue with Apple Pay integration in iframe

I recently started integrating Apple Pay into my website which actually loads the payment view in an iframe. Here the catch is my iframe loads in a different domain than my website. I followed the developer.apple.com site to integrate the Apple Pay…
iOS dev
  • 470
  • 7
  • 23
6
votes
1 answer

ApplePay canMakePaymentsWithActiveCard Promise returns false

ApplePay canMakePaymentsWithActiveCard Promise returns false on a Mac Safari, but true on iPhone Safari. canMakePayments returns true on both. I'm using a sandbox Apple developer account with test credit cards that Apple provided. Any idea why…
olya777
  • 103
  • 1
  • 7
5
votes
1 answer

Apple Pay integration with Angular

I want to integrate ApplePay and GooglePay in our Angular application. For GooglePay, google has provided a useful package for npm. https://www.npmjs.com/package/@google-pay/button-angular I tried to find a similar good package for ApplePay but…
CharithJ
  • 46,289
  • 20
  • 116
  • 131
5
votes
1 answer

Where and how to use Apple Pay Payment Processing Certificate with Authorize.Net

While trying to add Apple Pay Web into one of my websites, I'm having a confusion on how to and where to use this Apple Pay Payment Processing Certificate. My Payment Processor is Authorize.net And I followed their…
user2955412
  • 227
  • 3
  • 10
5
votes
2 answers

Apple Pay - onvalidatemerchant Payment Not Completed error

I am implementing apple pay onto our website. I do not have a macOS device and am using windows visual studios / mvcnet. I have done all the merchantID and certification stuff and configured it on the windows machine. I am using Apple Pay JS and on…
ricefieldboy
  • 347
  • 1
  • 4
  • 15
5
votes
0 answers

Apple Pay - NSS error -8178

I'm integrating Apple pay to website in PHP, by following the tutorial in https://github.com/norfolkmustard/ApplePayJS . However I'm getting following error if I click the apple pay button. unable to load client key: -8178 (SEC_ERROR_BAD_KEY) When…
FR STAR
  • 662
  • 4
  • 24
  • 50
3
votes
0 answers

Use firebase functions with Apple Pay

I want to integrate with Apple Pay on my website using the Apple Pay JS API, but my call to Apple is failing. We are using Firebase Functions to run our server, and Firebase Hosting to host our website. To do this, I need to request an Apple Pay…
3
votes
0 answers

ApplePaySession is not defined no-undef error in React

I am just trying to validate whether apple pay is supported on browser or not with following code. But it gives error on safari (ipad) / macbook. ApplePaySession' is not defined no-undef Following code, I had written in ReactJs. if…
Vikas Hiran
  • 41
  • 1
  • 6
3
votes
2 answers

How can I integrate Apple Pay JS with angular

I'm looking into integrating Apple Pay into my checkout page. How to check whether the Apple Pay JS API is available in the browser by verifying that the ApplePaySession class exists. When I gave the condition, if (window.ApplePaySession &&…
3
votes
1 answer

getting a Firefox plugin to detect and mimic attempts to check for Apple Pay support

Now that Apple's credit card offering is out, I can get 2% cash back on purchases on the web made with Apple Pay. Unfortunately, my browser of choice is Firefox, which doesn't yet support Apple Pay. I'd like to detect attempts to check for Apple Pay…
ceejayoz
  • 176,543
  • 40
  • 303
  • 368
3
votes
1 answer

Is Apple Pay token transactionId globally unique?

I'm investigating a possibility to use Apple Pay transactionId in defence for replay attacks across the same payment gate. The defence should rely on a field that participates in the signature and is unique. But Payment Token Format Reference…
Vadzim
  • 24,954
  • 11
  • 143
  • 151
3
votes
1 answer

Apple Pay - get full shipping address (containing 'addressLines')

I'm doing an Apple Pay WEB integration (using JS) and Braintree as a payment provider. I need to calculate some taxes (US sales tax) for the order. Current flow: The user clicks Pay with Apple Pay button, the Apple Pay payment sheet is displayed…
andreealib
  • 63
  • 10
1
2 3 4 5 6 7