Posts

Post not yet marked as solved
3 Replies
2.4k Views
Hi,The ApplePay.JS Payment Sheet opens and immediately on the completeMerchantValidation closes and generates the 'cancel' event - what couldbe the reason?The merchant session obtained appears valid - it looks like :"{\"merchantSession\":\"{\\"epochTimestamp\\":1474348924261,\\"merchantSessionIdentifier\\":\\"3B3878F14D67466D831D8E2157F5E206_916523AAED1343F5BC5815E12BEE9250AFFDC1A17C46B0DE5A943F0F94927C24\\",\\"nonce\\":\\"b0a18557\\",\\"merchantIdentifier\\":\\"C2EDAB942991BC2CF2CD73E3CEF47871FC74CB9D039182AC2E964C69FC04607B\\",\\"domainName\\"...The validation URL sent by Apple Pay 'session.onvalidatemerchant' is https://apple-pay-gateway-cert.apple.com/paymentservices/startSessionWe are using iPad/iOS 10 and Xcode 8 Simulator and have provisioned test cards.Any thoughts appreciated,emil
Posted
by brian239.
Last updated
.
Post not yet marked as solved
1 Replies
653 Views
Hi there,We are trying to obtain the "cardHoldername" key from the "Payment Data Keys" - https://developer.apple.com/library/content/documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html#//apple_ref/doc/uid/TP40014929-CH8The application receives and decrypts the "paymentData" successfuly but the "cardHoldername" is not present. The decrypted JSON (below) :{ “applicationPrimaryAccountNumber”=>”[FILTERED]”, “applicationExpirationDate”=>”231231", "currencyCode"=>"840", "transactionAmount"=>5500, "deviceManufacturerIdentifier"=>"040010030273", "paymentDataType"=>"3DSecure", "paymentData"=>{"onlinePaymentCryptogram"=>"AlDFpJgAGixq3OKgsKGqMAABAAA=", "eciIndicator"=>"7"} }We've tried adding the requiredBillingContactFields: [‘postalAddress’, ‘name’, ‘phone’,’email’] to the ApplePaySession request, there were no changes - no "cardHoldername" was included in the "paymentData".Any help appreciated,Thank youemil marcetta
Posted
by brian239.
Last updated
.