This guide provides information on using Shopify test certificates to test a credit card payments apps extension. > Note: > You should only use this test certificate for non-production credit card payments apps extensions. ## Requirements - You've [created a credit card payments app extension](/docs/apps/build/payments/credit-card/use-the-cli). - You're a [Partner organization owner](https://help.shopify.com/partners/dashboard/account-access). ## 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](/docs/apps/build/payments/credit-card/use-the-cli?framework=remix#create-a-payments-extension) then, [deploy and release the extension](/docs/apps/build/payments/credit-card/use-the-cli?framework=remix#deploy-and-release-your-extension). ``` encryption_certificate_fingerprint = "Test Certificate" ``` With the test certificate configured, Shopify will always send the same static [test payload data](/docs/apps/build/payments/credit-card/test-certificate#test-payload) in the `payment_method` hash for every payment session request. ## Test private key The private key which is used to decrypt the encrypted payload. ``` -----BEGIN EC PRIVATE KEY----- MHcCAQEEIPdk1Yrjq9UNZBPRFfY2/JFiNXVWbKNwkhqADTm46XUyoAoGCCqGSM49 AwEHoUQDQgAEPwwyTcNvVwInu9COj3WZooI+Aj1/KRolD6u7XmjpuBXlHq2nopJh qkKwdrnUzWjkiJuY1qrUucT2mH+VkUGBSA== -----END EC PRIVATE KEY----- ``` ## Test certificate The test certificate which is used to encrypt the test payload. ``` -----BEGIN CERTIFICATE----- MIIBvTCCAWMCCQCvVT/6sodnSjAJBgcqhkjOPQQBMGcxCzAJBgNVBAYTAkNBMQsw CQYDVQQIDAJPTjEPMA0GA1UEBwwGT3R0YXdhMRAwDgYDVQQKDAdTaG9waWZ5MSgw JgYDVQQDDB9TaG9waWZ5UGF5bWVudHNQYXJ0bmVyc1BsYXRmb3JtMB4XDTIzMDYw OTE1NTgxM1oXDTI0MDYwODE1NTgxM1owZzELMAkGA1UEBhMCQ0ExCzAJBgNVBAgM Ak9OMQ8wDQYDVQQHDAZPdHRhd2ExEDAOBgNVBAoMB1Nob3BpZnkxKDAmBgNVBAMM H1Nob3BpZnlQYXltZW50c1BhcnRuZXJzUGxhdGZvcm0wWTATBgcqhkjOPQIBBggq hkjOPQMBBwNCAAQ/DDJNw29XAie70I6PdZmigj4CPX8pGiUPq7teaOm4FeUeraei kmGqQrB2udTNaOSIm5jWqtS5xPaYf5WRQYFIMAkGByqGSM49BAEDSQAwRgIhAPIA kL2hr+QMnhvKSFJjsQPyUj8FEogfjBECPjlXbAtoAiEA9D6Ub/wCCfsbjcz89k4W Xill1yq6fp9cHlnIpGQfVpw= -----END CERTIFICATE----- ``` ## Test payload This section details the payloads you'll receive, which depends on the API version of your payments app extension.