Hi @Mike John
I have been in discussions with IPB support as there is an issue with my website that is causing duplicate subscriptions to be created in Commerce when this add-on is enabled.
The advise I have been given is to disable to plugin and reach out to the author.
Below is the reply from IPB regarding my issue:
Hi Pete,
Thank you for providing that information. I have investigated the issue, and I believe the problem is with the "Auto Welcome" application you have installed.
I will discuss with my colleagues strategies we can employ in future versions to prevent this sort of thing (a bug in a 3rd party app causing such an issue) happening in the future, but for now, I recommend disabling that application and contacting the author for a fix.
I provide the following information so you can pass it on to the application author. If it doesn't make sense to you, don't worry - just pass it along to the application author who will know what I mean.
The user is passed back to the site from PayPal to a special gateway script: applications/nexus/interface/gateways/paypal.php
This script validates and processes the payment, and marks the transaction as paid.
It creates the purchase (this is the first one that gets created) which then tries moves the members account to the special group the user gets put in when they buy that item. At this point, a hook the application has on the \IPS\Member class which looks for any changes to a member's account. (this is why the issue wasn't happening for physical purchases, because they don't try to move the group which doesn't trigger the hook).
The hook attempts to call \IPS\Dispatcher::i() to determine if the user is in the Admin CP or the front-end. Because neither is true (the user is in the special gateway script) an exception is thrown which the hook does not catch.
This exception makes it all the way back to the gateway script which assumes the exception was in validating the payment and so redirects the user back to the checkout screen to display an error.
The checkout screen, seeing that the invoice has been paid in full but the purchases haven't been created, doesn't display the normal checkout screen and instead but starts the process again (creating a second purchase). This time, because the user is in the front-end, the hook doesn't trigger an error and so to the user, it appears that nothing has gone wrong.
Once you have disabled the Auto Welcome, we can delete the extraneous purchases. I did a quick database query to generate a list of affected members.
I hope that this makes sense to you and that you can provide a fix as it is a great plugin and wish to continue using it, however paid subscriptions are very important to me and my website.
Thanks.
Pete