Using the tutorial on https://webkit.org/blog/8182/introducing-the-payment-request-api-for-apple-pay/I successfully implemented apple pay on a website.Now I am trying to get the first 6 digits of the customers credit card number for calculating OPC fees.So I debugged and did some logging on the response object at code level (referrring to the tutorial above):const response = await request.show();
var jStr = JSON.stringify({
methodName: response.methodName,
details: response.details,
}, undefined, 2);
console.log(jStr);When debugging, I got infos like customer name, card brand , card type and the last 4 digits of the card number.Is there any way to get the first 6 digits of the credit card number ?Is there any apple pay endpoint for this purpose (server to server communication), similar like when getting the payment session (https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_js_api/requesting_an_apple_pay_payment_session) ?I already contacted the apple support via phone, but they could not help me (they had no technical knowledge).Thanks and kind regardsshahir