Testing purchases Advanced Commerce API

Hello! Is it possible to test in Sandbox the flow of pending purchase request changes to succeed for Advanced Commerce API? As StoreKit configuration file can not be used with Advanced Commerce API, how to test for example flow "Ask to Buy" when child account ask parent account to buy generic consumable product? And also does Advanced Commerce API supports feature "Ask to Buy"?

Answered by Systems Engineer in 892535022

Hello! In general, yes, Advanced Commerce API functionalities are supported in Sandbox. For server API URLs, the relevant Sandbox URL is in documentation, as in the Change Subscription Price documentation, under "Sandbox URL".

We appreciate your feedback around testing Advanced Commerce API.

Hello! In general, yes, Advanced Commerce API functionalities are supported in Sandbox. For server API URLs, the relevant Sandbox URL is in documentation, as in the Change Subscription Price documentation, under "Sandbox URL".

We appreciate your feedback around testing Advanced Commerce API.

Thanks for your reply! So do we now as developers have any tools to test the flow "Ask to Buy" for generic product of type consumable with Advanced Commerce API? If yes how, can not find any documentations on that? Or in general how to test flow of purchase falling into pending status and then changes to succeed with transaction?

Testing purchases Advanced Commerce API
 
 
Q