4 posts / 0 new
Last post
johnhopper6060
Apple Pay for Web processing - applicationData usage?

I am looking to process Apple Pay for Web payments with Payeezy. In your docs, the submitted 3DS data has an extra 2 fields:

3DS.applicationData
3DS.header.applicationDataHash

which say they are optional, but I don't see how to determine if I would need to include need that field?

"Merchant supplied information about the payment request..."
Can someone explain more what this is used for?


christopherlord730
Re: Apple Pay for Web processing - applicationData usage?

I wouldn't recommend using those properties for any type of tracking necessarily as the merchant_ref field is recorded as a reference on the Payeezy Gateway.

https://developer.apple.com/documentation/passkit/pkpaymentrequest

3DS.applicationData
(optional) string base 64 encoded value of PKPaymentRequest. ApplicationData, Required only if applicationDataHash is being passed in.

3DS.header.
applicationDataHash
(optional) string Conditional. Merchant supplied information about the payment request. Contains Base64-encoded SHA256 hash of the applicationData property of the original PKPaymentRequest. Note:applicationData from PaymentData of PKPaymentToken Refer to Apple Pay™ documentation


johnhopper6060
Re: Apple Pay for Web processing - applicationData usage?

Oh yeah, I understand it's not for merchant data (the text I quoted was just from the docs)... the but if this is "optional", in what case would I want/need to include this extra data?


christopherlord730
Re: Apple Pay for Web processing - applicationData usage?

Since the hash relates to the PKPaymentRequest you still are able to pass identifiers through Applepay but it wouldn't be recorded by Payeezy in any manner.

https://developer.apple.com/documentation/passkit/pkpaymentrequest/1619298-applicationdata

Use this property for additional data as may be appropriate for your app—for example, a shopping cart identifier or an order number.

A hash of this data is included in the encrypted payment data (the paymentData property of PKPaymentToken). You are responsible for sending the full application data to your server, if needed.