Can't use Polling for checkout completion

MMosaad
New Member
1 0 0

I'm using latest SDK Version of Shopify mobile buy SDK for android 9.0.1
And I want to make  Polling after Web Checkout 
I tried steps mentioned in Polling for checkout completion section at GitHub documentation

But I found that it has been changed from this section implementation
And I didn't find any documentation about how to use the newly added Classes

My Question is

1-how to use Polling after Web Checkout?

2- Where can I find the latest implementation for the latest SDK

 

0 Likes
CalD
Shopify Staff
Shopify Staff
134 18 20

Hey @MMosaad,

Can you provide more specific details about what isn't working compared to the github docs on polling for checkout completion?

That sample code is for the native SFAPI checkout completion mutations e.g. checkoutCompleteWithTokenizedPaymentV3. For the web checkout completion journey, you should get the checkout object back initially from checkoutCreate before presenting that to the customer and use that for polling for completion, not the payment object.

CalD | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes