{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-docs/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["site-link","copy-value"]},"type":"markdown"},"seo":{"title":"Testing","meta":[{"name":"robots","content":"noindex, nofollow"},{"name":"pingdom","content":"sh3MDv8mJpWhCWSTdGtN"}]},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"testing","__idx":0},"children":["Testing"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"introduction","__idx":1},"children":["Introduction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In test mode, you can run transactions with special testing values to verify your integration without actual money movement."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you are testing your integration with Shift4, viewing ",{"$$mdtype":"Tag","name":"SiteLink","attributes":{"href":"/logs"},"children":["request logs"]}," in your dashboard might be useful."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"testing-cards","__idx":2},"children":["Testing cards"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Our test numbers base on assumption that expiration date is any date in the future. CVC number consists of 3 or 4 digits of your choice unless testing cvc error (see the last position in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#card-processing-errors"},"children":["Testing card processing errors"]},")."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"cards-successful-charges","__idx":3},"children":["Cards successful charges"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When making requests in test mode, you must use one of the following cards to simulate a successful charge."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card number"},"children":["Card number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card type"},"children":["Card type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4012 0001 0000 0007"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Visa"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 4242 4242 4242"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Visa"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4012 8888 8888 1881"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Visa"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4000 0566 5566 5556"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Visa (debit)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4426 0343 8351 8716"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Visa (GB)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4909 0696 1225 9316"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Visa (ES)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"5555 5555 5555 4444"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MasterCard"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"5200 8282 8282 8210"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MasterCard (debit)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"5105 1051 0510 5100"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MasterCard"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"2222 0000 0000 0008"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MasterCard"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"5294 0086 8432 8401"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Mastercard (GB)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"5125 6461 4869 4267"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Mastercard (ES)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"6759 6498 2643 8453"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Maestro"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"3782 822463 10005"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["American Express"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"3714 496353 98431"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["American Express"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"6011 1111 1111 1117"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Discover"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"6011 0009 9013 9424"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Discover"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"3056 930902 5904"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Diners Club"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"3852 000002 3237"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Diners Club"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"3530 1113 3330 0000"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JCB"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"3566 0020 2036 0505"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JCB"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"card-validation-errors","__idx":4},"children":["Card validation errors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can use one of the following card numbers to test validation errors in test mode. Errors can be simulated by creating a token, charge, or subscription."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card number"},"children":["Card number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Error code"},"children":["Error code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4024 0071 0234 9866"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["invalid_number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The card number is not a valid one."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4532 8732 9481 4636"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["invalid_expiry_month"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The card's expiration month is invalid."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4532 5824 7795 1947"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["invalid_expiry_year"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The card's expiration year is invalid."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4024 0071 8936 8227"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["invalid_cvc"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your card's security code is invalid."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4916 4870 5129 4548"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["expired_card"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The card has expired."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"card-processing-errors","__idx":5},"children":["Card processing errors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In test mode, you can use one of the following card numbers to test various error responses. Errors can be simulated only by creating a charge or subscription. Note that creating a token won't return an error."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card number"},"children":["Card number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Error code"},"children":["Error code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4024 0071 3436 4842"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incorrect_cvc"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The card's security code failed verification"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4929 2250 2152 9113"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incorrect_zip"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The card's zip code failed validation"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0323"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incorrect_address"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The card's address failed validation"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4024 0071 1846 8684"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["insufficient_funds"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The charge amount exceeds the available fund or the card's credit limit"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4024 0071 1462 1187"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["lost_or_stolen"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The card is marked as lost or stolen"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4024 0071 5550 2486"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["suspected_fraud"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The charge is suspected to be fraudulent"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4916 0184 7581 4056"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["card_declined"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The card was declined for another reason"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4916 4494 5702 4978"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["authentication_required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The charge requires cardholder authentication"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4024 0071 1416 6316"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["processing_error"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An error occurred while processing the card"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0083"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["This card will only work when CVC is 123. Otherwise, it will return an incorrect_cvc error code"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disputes","__idx":6},"children":["Disputes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In test mode, you can test charge disputes by creating charges with one of the following cards:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card number"},"children":["Card number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Dispute type"},"children":["Dispute type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0018"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Chargeback"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0026"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retrieval request (soft chargeback)"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Note that the charge created with one of those cards won't be disputed immediately after its creation. Usually, you need to wait about 1 minute for the charge to change its status to disputed."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When testing disputes, it is also possible to simulate different dispute flows. To do this, you must enter ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["winning_evidence"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["losing_evidence"]}," text into the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uncategorized_text"]}," field in API or additional details field in the dispute form in the dashboard."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"fraud-check","__idx":7},"children":["Fraud check"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In test mode, you can test fraud check by creating charges with one of the following cards:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card number"},"children":["Card number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Fraud check result"},"children":["Fraud check result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0042"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Safe"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0059"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Suspicious"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0067"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fraudulent"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0208"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fraudulent (with fraud warning)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0075"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unknown"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"3d-secure","__idx":8},"children":["3D Secure"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In test mode, you can test 3D Secure by using one of the following cards:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card number"},"children":["Card number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"3D Secure check result"},"children":["3D Secure check result"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card Scheme"},"children":["Card Scheme"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4012 0018 0000 0016"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enrolled for 3D Secure 2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Visa"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"5428 0002 2110 1226"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enrolled for 3D Secure 2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MasterCard"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"3700 000000 00002"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enrolled for 3D Secure 2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["American Express"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"3600 000000 0008"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enrolled for 3D Secure 2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Diners Club"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"6011 0009 9019 1003"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enrolled for 3D Secure 2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Discover"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"3528 0001 1110 1116"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enrolled for 3D Secure 2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JCB"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["all other test cards"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not enrolled for 3D Secure"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ani-check","__idx":9},"children":["ANI check"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In order to test ANI check, please use the following card number while performing the zero authentication:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card number"},"children":["Card number"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0513"},"children":[]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["And use the cardholder name from the following list:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Cardholder name"},"children":["Cardholder name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"ANI check result"},"children":["ANI check result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ani check"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["full_match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ani <random string>"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["partial_match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["<random string> check"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["partial_match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["<random string>"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no_match"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"avs-check","__idx":10},"children":["AVS check"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In order to test AVS check, please use the following card number:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card number"},"children":["Card number"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0000 0315"},"children":[]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["And use the zip code from the following list:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Zip code"},"children":["Zip code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"AVS check result"},"children":["AVS check result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"00000"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["full_match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"00001"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no_match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"00002"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["partial_match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"00003"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["not_provided"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"cvv-check","__idx":11},"children":["CVV check"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In order to test CCV check, please use the following card number:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card number"},"children":["Card number"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4111 1000 0000 0006"},"children":[]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["And use the CCV from the following list:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"CVV code"},"children":["CVV code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"CVV check result"},"children":["CVV check result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"111"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"222"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no_match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"333"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["not_verified"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"444"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["not_provided"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"555"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["not_supported"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"credit","__idx":12},"children":["Credit"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In test mode, you can test credit by using one of the following cards:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Card number"},"children":["Card number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Credit result"},"children":["Credit result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242 0000 0001 1114"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful (with fast credit support)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["all other test cards"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"testing-wallets","__idx":13},"children":["Testing wallets"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"apple-pay","__idx":14},"children":["Apple Pay"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can simulate Apple Pay transactions without real card numbers, since tokens already include the required information. To create a test transaction, send one of the following tokens. Make sure to include the charge amount in the token. All transactions created with Apple Pay include a 3DS liability shift."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Token"},"children":["Token"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Fraud check result"},"children":["Fraud check result"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Charge status"},"children":["Charge status"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example with charge amount"},"children":["Example with charge amount"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TEST_TOKEN"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Safe"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TEST_TOKEN:1000EUR"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TEST_FRAUDULENT_TOKEN"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fraudulent"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TEST_FRAUDULENT_TOKEN:1000EUR"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TEST_SUSPICIOUS_TOKEN"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Suspicious"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TEST_SUSPICIOUS_TOKEN:1000EUR"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TEST_DECLINE_TOKEN"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Declined"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TEST_DECLINE_TOKEN:1000EUR"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The tokens can be used in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api/shift4-gateway/payment-methods/createpaymentmethod"},"children":["payment method request"]}," body as follows:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{ \"type\": \"apple_pay\", \"applePay\": { \"token\": \"TEST_TOKEN:100EUR\" } }\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The tokens can also be used in shift4.js in place of a real Apple Pay token, as shown below:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"await shift4.createToken({\n    methodName: 'https://apple.com/apple-pay',\n    details: {token: {paymentData: 'TEST_TOKEN:1000EUR'}}\n});\n","lang":"javascript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Want to lean more about Apple Pay? Visit ",{"$$mdtype":"Tag","name":"SiteLink","attributes":{"href":"/examples/charge-with-apple-pay"},"children":["Apple Pay integration example"]}," along with the technical specifications."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"google-pay","__idx":15},"children":["Google Pay"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can simulate Google Pay transactions without real card numbers, since tokens already include the required information. Note, that most card issuers require 3DS for Google Pay transactions. To create a test payment, use one of the tokens listed below:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["PAN_ONLY tokens – Merchants must run 3DS themselves."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["CRYPTOGRAM_3DS tokens – Already include the 3DS result provided by Google Pay."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For testing purposes, two special PAN_ONLY tokens do not support or require 3DS."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Token"},"children":["Token"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Fraud check result"},"children":["Fraud check result"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Charge status"},"children":["Charge status"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"3DS"},"children":["3DS"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PAN_ONLY"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Safe"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Depends on 3DS result"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PAN_ONLY_SUSPICIOUS"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Suspicious"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Depends on 3DS result"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PAN_ONLY_FRAUDULENT"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fraudulent"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Depends on 3DS result"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PAN_ONLY_DECLINED"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Declined"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PAN_ONLY_3DS_UNSUPPORTED"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Safe"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unsupported (e.g. prepaid card)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PAN_ONLY_3DS_NOT_REQUIRED"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Safe"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Depends on 3DS result"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not required (e.g. card issuer allowing transactions without 3DS)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["CRYPTOGRAM_3DS"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Safe"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not applicable, included in Google Pay token"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["CRYPTOGRAM_3DS_SUSPICIOUS"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Suspicious"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not applicable, included in Google Pay token"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["CRYPTOGRAM_3DS_FRAUDULENT"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fraudulent"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not applicable, included in Google Pay token"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["CRYPTOGRAM_3DS_DECLINED"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Declined"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not applicable, included in Google Pay token"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The tokens can be used in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api/shift4-gateway/payment-methods/createpaymentmethod"},"children":["payment method request body"]}," as follows:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{ \"type\": \"google_pay\", \"googlePay\": { \"token\": \"CRYPTOGRAM_3DS\" } }\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The tokens can also be used in shift4.js in place of a real Google Pay token, as shown below:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"await shift4.createToken({\n    methodName: 'https://google.com/pay',\n    details: {paymentMethodData: {tokenizationData: {token: 'PAN_ONLY'}}}\n});\n","lang":"javascript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Find more about ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.google.com/pay/api/web/guides/resources/sca"},"children":["SCA and Google Pay API."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Want to lean more about Google Pay? Visit ",{"$$mdtype":"Tag","name":"SiteLink","attributes":{"href":"/examples/charge-with-google-pay"},"children":["Google Pay integration example"]}," along with the technical specifications."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"testing-payment-methods","__idx":16},"children":["Testing payment methods"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ach-with-bank-account-details","__idx":17},"children":["ACH with bank account details"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you create PaymentMethod using account details received from customer it is not yet ready to be Charged. PaymentMethod would have status \"pending\". Verification process of such account can take up to a week. In Test mode account will be verified and PaymentMethod will became chargeable in a few seconds to simplify testing."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To finish test PaymentMethod setup one can enter following data:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Routing number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"021000021"},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Account type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Personal Savings"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["And select account testing number from the following list:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Account number"},"children":["Account number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Result"},"children":["Result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"4242424242424242"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Account setup successfully"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"1111222233339901"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Account verification fail"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"1111222233338801"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Charge processing_error"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"1111222233338802"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Charge insufficient_funds"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"1111222233338803"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Charge payment_method_declined"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"1111222233337701"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Refund error"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"1111222233336602"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Triggers charge dispute"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Want to lean more about ACH? Visit ",{"$$mdtype":"Tag","name":"SiteLink","attributes":{"href":"/examples/ach-payment-method-with-account-details"},"children":["ACH with bank account integration example"]}," and ",{"$$mdtype":"Tag","name":"SiteLink","attributes":{"href":"/examples/ach-payment-method-with-plaid"},"children":["ACH with Plaid integration example"]}," along with the technical specifications."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"blik-with-code","__idx":18},"children":["Blik with Code"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here are some testing examples for Blik with code number. When processing live with this method, payment results may take longer than in the test mode. For this reason, in test mode, you can use predefined codes to simulate success or failure, with different delays before the final result appears."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Number"},"children":["Number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Charge result"},"children":["Charge result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"111001"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Success with 1 second delay"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"111010"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Success with 10 seconds delay"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"111060"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Success with 60 seconds delay"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"999001"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fail with 1 second delay"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"999010"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fail with 10 seconds delay"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"999060"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fail with 60 seconds delay"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Want to lean more about Blik? ",{"$$mdtype":"Tag","name":"SiteLink","attributes":{"href":"/examples/charge-with-blik-with-code"},"children":["Visit Blik integration example"]}," with full technical spec."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"swish","__idx":19},"children":["Swish"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here are some testing examples for phone number entry. When processing live with this method, payment results may take longer than in the test mode. For this reason, in test mode, you can use predefined codes to simulate success or failure, with different delays before the final result appears."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Phone number"},"children":["Phone number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Charge result"},"children":["Charge result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"48123456789"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Success with 1 second delay"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"41123456789"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Success with 10 seconds delay"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"46766962500"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Success with 60 seconds delay"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"48987654321"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fail with 1 second delay"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"41987654321"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fail with 10 second delay"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CopyValue","attributes":{"value":"46764402400"},"children":[]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fail with 60 second delay"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Want to lean more about Swish? Visit ",{"$$mdtype":"Tag","name":"SiteLink","attributes":{"href":"/examples/charge-with-swish"},"children":["Swish integration example"]}," with full technical spec."]}]},"headings":[{"value":"Testing","id":"testing","depth":1},{"value":"Introduction","id":"introduction","depth":2},{"value":"Testing cards","id":"testing-cards","depth":2},{"value":"Cards successful charges","id":"cards-successful-charges","depth":3},{"value":"Card validation errors","id":"card-validation-errors","depth":3},{"value":"Card processing errors","id":"card-processing-errors","depth":3},{"value":"Disputes","id":"disputes","depth":3},{"value":"Fraud check","id":"fraud-check","depth":3},{"value":"3D Secure","id":"3d-secure","depth":3},{"value":"ANI check","id":"ani-check","depth":3},{"value":"AVS check","id":"avs-check","depth":3},{"value":"CVV check","id":"cvv-check","depth":3},{"value":"Credit","id":"credit","depth":3},{"value":"Testing wallets","id":"testing-wallets","depth":2},{"value":"Apple Pay","id":"apple-pay","depth":3},{"value":"Google Pay","id":"google-pay","depth":3},{"value":"Testing payment methods","id":"testing-payment-methods","depth":2},{"value":"ACH with bank account details","id":"ach-with-bank-account-details","depth":3},{"value":"Blik with Code","id":"blik-with-code","depth":3},{"value":"Swish","id":"swish","depth":3}],"frontmatter":{"title":"Testing","description":"Run transactions in test mode with special testing values to verify your integration without actual money movement.","seo":{"title":"Testing"}},"lastModified":"2026-10-15T12:57:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/testing","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}