apple-pay-decrypt
apple-pay-decrypt copied to clipboard
Unable to Extract Merchant ID from Payment Processing Certificate (x509 Parsing Issue)
The current implementation of the merchantId function in the PaymentToken class relies on parsing the merchant certificate using the x509
package. However, when attempting to parse the certificate using the same x509
package in my own implementation, I encountered the issue where the extensions field was not present in the parsed certificate.
I made sure to use the x509
package, just as the original code does, to ensure consistency in the parsing process. However, it seems that in some cases, the x509
package does not correctly handle the extraction of the extensions field.
I appreciate your attention to this matter and look forward to a resolution that enables seamless decryption of Apple Pay tokens.
The current implementation of the merchantId function in the PaymentToken class relies on parsing the merchant certificate using the
x509
package. However, when attempting to parse the certificate using the samex509
package in my own implementation, I encountered the issue where the extensions field was not present in the parsed certificate.I made sure to use the
x509
package, just as the original code does, to ensure consistency in the parsing process. However, it seems that in some cases, thex509
package does not correctly handle the extraction of the extensions field.I appreciate your attention to this matter and look forward to a resolution that enables seamless decryption of Apple Pay tokens.
Same issue here. Did you find any solution? Thank you!