Manually reindex data
You can manually reindex data, instead of waiting for it to happen automatically. See Reindex in Manage the Indexers for more information.
When BY SCHEDULE
mode is set, the system tracks changed entities and the cron job updates the index for them based on a set schedule. See Run cron from the command line in Configure and run cron) to learn how to manually trigger indexation using cron jobs.
Send reindexed data to payment service
After the data is indexed, it will be sent automatically to Payment Services. You can also manually trigger the process of sending indexed data with this command:
bin/magento saas:resync --feed [feedName]
Use the following command options:
Command | Description |
---|---|
bin/magento saas:resync --feed [feedName] | Performs a reindexation of the specified feed and sends it to the corresponding service |
bin/magento saas:resync --no-reindex | Skips indexation and sends unsynced data from the indexes |
The --feed
parameter allows you to specify which feed you want to send:
Feed | Description |
---|---|
paymentServicesOrdersProduction | Orders feed in Production mode |
paymentServicesOrdersSandbox | Orders feed in Sandbox mode |
paymentServicesOrderStatusesProduction | Order statuses in Production mode |
paymentServicesOrderStatusesSandbox | Order statuses in Sandbox mode |
paymentServicesStoresProduction | Stores in Production mode |
paymentServicesStoresSandbox | Stores in Sandbox mode |
All data needed for the reports is sent to Payment Services automatically if cron is configured and installed. You can also manually trigger the process of sending cron data to Payment Services.
bin/magento cron:run --group payment_services_data_export
To learn more about reindexing and indexers, see the Manage the indexers topic in the developer documentation.