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
0
votes
0 answers

Decrypting apple pay token in javascript with symmetric key results in garbage characters

I'm working on the server side decryption of an apple pay token (coming from ApplePayJS) using nodejs. I know absolutely nothing about cryptography but managed to do almost all the steps, including verifying the signature, verifying the…
user4086990
0
votes
0 answers

Apple Pay on React Native?

I want to integrate Apple Pay into my React Native app and i've tried both react-native-payments and expo-payments-stripe but none of them work properly. React-native-payments doesn't even seem to be maintained anymore. Is there any other way to do…
ruckk
  • 15
  • 4
0
votes
1 answer

Adding Merchant domains for Apple Pay Payment Processing on the Web

I am trying to implement Apple Pay on the web As per the documentation after creating the merchant id and Apple Pay Payment Processing Certificate I am required to add Merchant Domains as well as Apple Pay Merchant Identity Certificate. I did…
0
votes
2 answers

Braintree-Web ApplePaySession constructor is undefined

I am trying to implement Apple Pay on checkout in a react project using Typescript. I have installed the braintree-web package and followed the instructions on braintree's website to initialize my ApplePaySession. Although typescript allows me to…
user1427380
  • 93
  • 1
  • 4
0
votes
1 answer

Apple Payment sheet not displaying in iOS13 when Apple Pay is invoked from a Safari browser

I am using Apple Pay JS. I created Apple Pay feature for my website and it has been working great in Safari browser in iOS devices but stopped working after updating the iOS to the latest version, iOS13. The issue is that the Apple Pay sheet no…
Sohanit
  • 1
  • 1
0
votes
1 answer

How change border-radius in apple-pay buttom (Safari)

By default apple-pay button border-radius 5px/ I need set it 15px. How I can chage this property? When I set border-radius: 15px; to class .apple-pay-button, button doesnt change There are code example: @supports (-webkit-appearance:…
0
votes
1 answer

Apple Pay: How can I get `shippingAddress` before show the order information?

I'm using Apple Pay integration with Stripe and I need to get the shippingAddress from Apple Pay before shown the order information because I need to calculate taxes and shipment cost based on the address. Currently, I can get the shipmentAddress…
Lucas Ocon
  • 172
  • 2
  • 7
0
votes
0 answers

If there is any need to reference ApplePay.js in my view? if yes than how?

I am creating a POC for Apple Pay in my web app using .net MVC. I'm following this online tutorial: https://www.oshyn.com/blogs/2017/01/apple-pay-development I'm doing this on Windows and I've installed safari browser just for testing. The…
Reply not
  • 161
  • 2
  • 10
0
votes
1 answer

Apple pay on the web pay after order is completed

We are trying to integrate Apple Pay on the web with a custom web ordering flow. This requires the order placement to be completed before the payment transaction is made. But it seems that, as soon as the payment sheet is displayed (on Safari by…
ktsangop
  • 751
  • 2
  • 11
  • 24
0
votes
1 answer

Braintree Apple Pay Integration

I am trying to setup apple pay using Braintree. I have been following these instructions but to no avail - https://developers.braintreepayments.com/guides/apple-pay/client-side/javascript/v3 I have installed the latest libraries, deployed my code to…
Damien
  • 3,358
  • 11
  • 62
  • 106
0
votes
1 answer

In ApplePay.js, need to display an error message on the paysheet

Trying to implement ApplePay for Web using ApplePay.js. If the user enters an invalid shipping address, I'd like to highlight an error on the paysheet so that the user has a chance to correct the issue. I see there is an ApplePayError class here:…
Brandon Spilove
  • 1,449
  • 1
  • 9
  • 14
0
votes
2 answers

How to fetch user's email address associated with Apple Pay Account from Apple Pay using JavaScript

I wanted to know if Apple has an API which we can use to fetch user's email address associated with apple pay account. FYI I am using apple pay js (ApplePaySession) for apple pay. Or is there another way to fetch user's email address from Apple…
NehaK
  • 13
  • 5
0
votes
1 answer

Processing Payment with PayPay after authorizing with Apple Pay

I have a shopping cart that currently uses a PayPal NVP to accept credit cards as well as checkout with PayPal accounts. I've integrated Apple Pay, and am now on to actually processing the payment after Apple has validated the transaction. How do I…
PrimalYeti
  • 89
  • 6
0
votes
1 answer

Payment Services Exception Domain verification failed for merchantId

I verified my domain successfully via Apple Developer Account. But, when I try to call Apple's registerMerchant API they respond with: statusMessage: Payment Services Exception Domain verification failed for merchantId... errorMessage=\"exception…
co.zohar
  • 163
  • 2
  • 13
0
votes
2 answers

Apple Pay on the Web Emporium Web App SyntaxError

I'm having trouble running the Emporium Web app - here's what I've tried: Went to: https://developer.apple.com/library/content/samplecode/EmporiumWeb/Introduction/Intro.html Downloaded the sample code Extracted it Copied my .pem certificates into…
Ryan
  • 5,523
  • 16
  • 48
  • 84