Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hello,
My store is a Development Store with a Private App that uses the Storefront GRAPHQL API. Shopify Payments is enabled with Test Mode on.
I just want to use credit card(4242424242424242) to test payment according to https://help.shopify.com/en/partners/dashboard/managing-stores/test-orders-in-dev-stores#testing-usi... but the checkout was finally categorized as an abandoned checkout rather than an valid order.
Below is my procedure:
I used checkoutCreate, checkoutShippingLineUpdate, associateCustomerWithCheckout to create a checkout with all required information.
Then I used https://elb.deposit.shopifycs.com/sessions to get a vault ID. Below is the JSON query:
{ "credit_card": { "number": "4242424242424242", "first_name": "John", "last_name": "Smith", "month": "5", "year": "25", "verification_value": "123" } }
{ "checkoutId": "{{CheckoutID}}", "payment": { "paymentAmount": { "amount": "132.68", "currencyCode": "AUD" }, "idempotencyKey": "202107290909", "billingAddress": { "firstName": "Ng", "lastName": "Peter", "address1": "1xxx", "country": "Australia", "city": "Brisbane", "zip": "4199" }, "paymentData": "east-5ea1b526f86d0c650cf791053fa0519c", "test": true, "type": "VAULT" } }
Then the following result is shown: