Script to Place M2 API Calls


The subscribepro/m2-api-ordering-script repository contains a PHP script that allows you to test the admin ordering process with your Magento 2 store.

The script can be used to mock Subscribe Pro for testing and debugging. The script follows the same steps and API calls that the Subscribe Pro ordering generation process uses to place orders. This can help diagnose and troubleshoot connection and order creation issues.

NOTE: This script will not make any changes to data stored in Subscribe Pro, such as updating the Last or Next Order Dates, and will not trigger any emails from Subscribe Pro. However, if Magento 2 is configured to send an email to the customer upon a successful or failed order, the customer will still receive that email.

Configuration and usage instructions are available in the repository.

subscribepro/m2-api-ordering-script repo