View Product Page

Check over instance before processing payments

YITH Affiliates plugin automatically enables this safety check for those who run staging sites for every payment method, which might cause the payments to fail. This check makes sure that an automatic payment fails, if it detects that the plugin has been moved to a domain other than the one where it was originally installed.

An example:

Imagine you clone your production site into a staging, all affiliate configurations will be cloned as well. If you set up automatic payments for the affiliates, there is a chance that the staging site will issue payments via the live payment account (e.g. PayPal, Stripe etc.), thus leading to double commission payments for affiliate.

In this case, thanks to this check that is automatically enabled, the system makes the payment fail for safety reasons, because the staging domain isn’t the same as the production one where plugin was originally installed.