Giter Club home page Giter Club logo

Comments (7)

yavosh avatar yavosh commented on July 23, 2024

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.

mavencode01 avatar mavencode01 commented on July 23, 2024

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.

feldmisco avatar feldmisco commented on July 23, 2024

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.

mavencode01 avatar mavencode01 commented on July 23, 2024

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.

feldmisco avatar feldmisco commented on July 23, 2024

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.

feldmisco avatar feldmisco commented on July 23, 2024

I created a new merchant ID and certificate chain, and then everything worked! Thank you!

from applepay_crypto_demo.

mavencode01 avatar mavencode01 commented on July 23, 2024

The decryption gods smile on you 👍

from applepay_crypto_demo.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.