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:

CommandDescription
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-reindexSkips indexation and sends unsynced data from the indexes

The --feed parameter allows you to specify which feed you want to send:

FeedDescription
paymentServicesOrdersProductionOrders feed in Production mode
paymentServicesOrdersSandboxOrders feed in Sandbox mode
paymentServicesOrderStatusesProductionOrder statuses in Production mode
paymentServicesOrderStatusesSandboxOrder statuses in Sandbox mode
paymentServicesStoresProductionStores in Production mode
paymentServicesStoresSandboxStores 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.