Migrating Subscriptions from v4 to v5
If you have migrated your client data from ModernBill v4 to ModernBill v5, and you would like the PayPal subscriptions to follow, please follow these instructions.
- Open the file lib-mbapi/includes/gateway/return/migration/paypal_return.inc.php in your v5 fileset.
- Verify the following:
- $path_to_curl = "PHP"; - change this to your path to cURL if you do not have PHP cURL.
- $v5IPNURL - http://WWW.EXAMPLE.COM/modernbill/lib-mbapi/include/modules/gateway/return/paypal.php; - change WWW.EXAMPLE.COM to the domain your ModernBill is installed on.
- Save the file.
- Replace your v4 ModernBill paypal_return.inc.php file with the one you modified above. This should be located in the directory /modernbill/include/misc/mod_paypal/.
Note: if you have changed the name of the default modernbill directory, you will need to change the directory listing to reflect that as well.