Comments (7)
I got the same error when using the wrong merchant keys. Double check the merchant id used and make sure you are using the correct pub/priv key
from applepay_crypto_demo.
I started all over again but still got the same error message:
Downloaded my merchant certificate using my Csr
Added it to my keychain and export the private key as .p12 ( save to disk, specify 256B/ECC)
I specified merchant certificate as my public key.
Got my paymenttoken from PKPayment object
I don't know what else am missing.
Any idea of what I did wrong ?
Thanks,
from applepay_crypto_demo.
I'm having the same issue with the "mac check in GCM failed" and have also redone the cert, exported the key, etc. I'm using the Apple Pay cert downloaded from the iOS Dev Center and exported the private key for that cert from the keychain.
Has anyone run into this exception and figured out what the problem was?
Thank you!
from applepay_crypto_demo.
Interestingly, I restarted everything again this morning, follow the same steps and it worked.
Am going to try to create another project & certificates to see if I can reproduce the issue again.
Right now, it's working for me
from applepay_crypto_demo.
Thank you for the quick reply. That's quite interesting. I'll do a new round of requests and certs and see if the decryption gods will smile up me. :)
from applepay_crypto_demo.
I created a new merchant ID and certificate chain, and then everything worked! Thank you!
from applepay_crypto_demo.
The decryption gods smile on you
from applepay_crypto_demo.
Related Issues (12)
- org.bouncycastle.openssl.PEMReader missing bcprov-jdk15on HOT 2
- About merchantPrivateKey!
- I met javax.crypto.BadPaddingException: mac check in GCM failed
- ECKeyAgreement requires ECPrivateKey HOT 3
- Signature verification HOT 3
- ephemeralPublicKey returns null HOT 4
- merchantIdentifierTlv is always null
- Unsupported parameter: javax.crypto.spec.IvParameterSpec HOT 5
- using decrypted data with gateways
- Security exception error while trying to decrypt. HOT 2
- Possible error in decrypt method (main.java)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applepay_crypto_demo.