GraphQL | Checkout doesn't have ShoPay option if checkout url generated from API

Highlighted
Shopify Partner
3 0 0

Hi Shopify Support team, 

 

We noticed Shopify API (GraphQL) issue recently.

If we generating Checkout URL directly from GraphQL API - then ShoPay option is unavailable for generated checkout url.

But if we visit Shopify Store directly (via browser) - we can see ShoPay option.

 

Here the GraphQL query that we using to generate Checkout URL:

 

mutation {
  checkoutCreate(input: {
    lineItems: [{ variantId: "id==", quantity: 1 }]
  }) {
    checkout {
       id
       webUrl
       lineItems(first: 1) {
         edges {
           node {
             title
             quantity
           }
         }
       }
    }
  }
}

 

 

So basically here the steps to reproduce the issue (+ attached screenshots):

---Pre requirements: Configured Store + configured ShoPay option.

1. Generate the checkout URL using GraphQL API.

2. Visit the checkout WebPage that returned by GraphQL API.

3. Notice that ShoPay option is not available. 

 

But if you visit the store directly (*ownstore*.myshopify.com) and click to the "Buy" button - you will see ShoPay option.

 

Could you please advice and help with above issue? 

 

p.s - we also issued Support Ticket via email with above issue.

 

Here the example screenshots: 

 

1. From Checkout URL generated using API. Shopay option is not available 

Screenshot 2020-04-01 at 9.43.50 AM.png

 

2. If visit the shopify store and click "Buy" button. Shopay option is available. 

Screenshot 2020-04-01 at 9.43.53 AM.png

 

Thanks.


Best regards,

Henadziy

0 Likes
Highlighted
Shopify Staff
Shopify Staff
491 97 88

Hi @Genadzi 

 

When using the webUrl you should have access to the same payment options as the online store channel. I believe you were in touch with our technical support teams to resolve the issue - if so, can you let us know if everything is resolved?

Vix | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 


0 Likes