Use a credit card test certificate
This guide provides information on using Shopify test certificates to test a credit card payments apps extension.
Requirements
Anchor link to section titled "Requirements"- You've created a credit card payments app extension.
- You're a Partner organization owner.
Using the test certificate
Anchor link to section titled "Using the test certificate"To use Shopify's test certificate, set the value of the encryption_certificate_fingerprint
field to Test Certificate
in your credit card payment extension then, deploy and release the extension.
With the test certificate configured, Shopify will always send the same static test payload data in the payment_method
hash for every payment session request.
Test private key
Anchor link to section titled "Test private key"The private key which is used to decrypt the encrypted payload.
Test certificate
Anchor link to section titled "Test certificate"The test certificate which is used to encrypt the test payload.
Test payload
Anchor link to section titled "Test payload"This sections details the payloads you'll receive, which depends on the API version of your payments app extension.