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.

66 questions
24
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
  • 7,092
  • 4
  • 48
  • 62
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,543
  • 1
  • 22
  • 39
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
  • 7
6
votes
3 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,621
  • 7
  • 25
  • 54
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
  • 686
  • 2
  • 23
  • 45
4
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
  • 165,698
  • 38
  • 268
  • 341
4
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
  • 307
  • 3
  • 12
3
votes
1 answer

Issue with Apple Pay integration in iframe

Problem Summary: 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…
iOS dev
  • 410
  • 5
  • 21
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
  • 21,258
  • 10
  • 119
  • 142
2
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
  • 197
  • 2
  • 9
2
votes
1 answer

Apple Pay completeMerchantValidation cancels session

My backend successfully validates the merchant and a session is returned, but when I complete the validation on the browser, it immediately cancels the transaction. There are a few similar complaints on the Apple Dev forum, but none seem to have…
tommed
  • 1,381
  • 1
  • 14
  • 33
2
votes
0 answers

Controlling the font size inside an Apple Pay button

i have been looking at implementing Apple Pay on a site and am currently investigating the various UI brand guidelines that Apple stipulates for an Apple Pay button, and have been following the developer examples on the Apple site. It is useful that…
El Guapo
  • 527
  • 2
  • 13
  • 25
2
votes
0 answers

Using Apple Pay JavaScript/NodeJS on Azure

I used the following as a working sample to intake JavaScript Apple Pay transactions through a NodeJS server on Azure. There is a whole process you have to go through for the certificates once you have a Developer Account but hopefully it will help…
userara
  • 39
  • 5
2
votes
1 answer

Apple Pay on web Merchant validation

I Managed to retrieve merchantSession object from Apple Pay server as below. I used Sandbox Test (Setup on itunesconnect and login the sandbox account on iphone and added tested visa card) { "epochTimestamp":15065...20, …
2
votes
2 answers

Sandbox apple pay testing handshake failure

I am having trouble validating the merchant in my apple pay sandbox environment. Taken from https://developer.apple.com/reference/applepayjs/applepaysession#2166532, once my server then calls the Start Session endpoint at the provided URL, I get a…
Zac
  • 5,745
  • 6
  • 42
  • 78
1
2 3 4 5