Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what are merchant_cert.pem and merchant_private_key? #5

Open
SunGg12138 opened this issue Oct 26, 2017 · 5 comments
Open

what are merchant_cert.pem and merchant_private_key? #5

SunGg12138 opened this issue Oct 26, 2017 · 5 comments
Labels

Comments

@SunGg12138
Copy link

certificate_pem = open('merchant_cert.pem', 'rb').read()
private_key_pem = open('merchant_private_key', 'rb').read()

I have only a apple_pay.cer file.

@halturin
Copy link
Owner

These files are provided by Apple.

@mattpoq-belk
Copy link

@SunGg12138 convert your P12 private key and your CER cert to PEM.

See this here: https://aaronmastsblog.com/blog/apple-pay-certificates/

@mattpoq-belk
Copy link

@halturin great script BTW!!! Best one of all available.

@inturbidus
Copy link

@SunGg12138 I have gotten this working in JS https://github.com/inturbidus/applepay-token

@SunGg12138
Copy link
Author

Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants