apple-pay-decrypt icon indicating copy to clipboard operation
apple-pay-decrypt copied to clipboard

Allow user to decrypt Apple Pay token for use with payment processor (Stripe, Braintree, et al).

Results 7 apple-pay-decrypt issues
Sort by recently updated
recently updated
newest added

undefined:1 P�{���#/ 3�� ^ SyntaxError: Unexpected token in JSON at position 0 at Object.parse (native) at PaymentToken.decrypt (/var/www/apple-pay/decrypt/node_modules/apple-pay-decrypt/index.js:26:17) at Object. (/var/www/apple-pay/decrypt/app.js:20:25) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32)...

I am getting this error , do you have any ideas what it might be ? Thanks ``` /applepaydecoder/node_modules/asn1.js/lib/asn1/base/reporter.js:59 throw err; ^ Error: Failed to match tag: "objid" at: ["algorithmIdentifier"]["parameters"]...

Hi: I am using Node v 12.16 npm install gives following build errors: ```/Users/raj/Library/Caches/node-gyp/12.16.2/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cc:5: In file included...

error: bundling: UnableToResolveError: Unable to resolve module `crypto` from `/Users/rinsoft/iTunesUpload/mobile/node_modules/apple-pay-decrypt/index.js`: Module does not exist in the module map or in these directories: anyone faced these kind of issue?

Thanks for your project and I have a question: how to pass the decrypted data to Stripe? For example, I got the decrypted data below: ``` { "applicationPrimaryAccountNumber": "62216824****8751", "applicationExpirationDate":...

merchant private key (pem) file. below function: const ASN1ECRfc5915Key = asn.define('Rfc5915Key', function() { this.seq().obj( this.key('version').int(), this.key('privateKey').octstr(), this.key('parameters').optional().explicit(0).objid({ '1 2 840 10045 3 1 7' : 'prime256v1', '1 3 132 0...

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...