Jump to content

Subscriptions on a Beta site


Mike Gholson

Recommended Posts

Hi guys,

After making a duplicate of my production site, I was able to get it upgraded with IPB 5 beta1.  However, I noticed that emails are being sent to members (from the beta site).  Is there a way I can totally disable emails on the beta site?  It turns out that all forums and PM's are reset to a "new" status so the emails are flooding.

Also, does running a copy of my production site also charge users for subscriptions?  I want to know if I will need to disable something else to prevent this.

Thank you!

Link to comment
Share on other sites

Thank you, I disabled email using the constants.php.

However, I get an error when I try to remove payment types.  See below.

TypeError: IPS\File::get(): Argument #2 ($url) must be of type IPS\Http\Url|string, null given, called in /var/www/vhosts/classiczcars.com/beta.classiczcars.com/applications/nexus/sources/Gateway/Gateway.php on line 441 (0)
#0 /var/www/vhosts/classiczcars.com/beta.classiczcars.com/applications/nexus/sources/Gateway/Gateway.php(441): IPS\File::get()
#1 /var/www/vhosts/classiczcars.com/beta.classiczcars.com/system/Node/Controller.php(1372): IPS\nexus\Gateway->delete()
#2 /var/www/vhosts/classiczcars.com/beta.classiczcars.com/applications/nexus/modules/admin/payments/gateways.php(211): IPS\Node\Controller->delete()
#3 /var/www/vhosts/classiczcars.com/beta.classiczcars.com/system/Dispatcher/Controller.php(128): IPS\nexus\modules\admin\payments\gateways->delete()
#4 /var/www/vhosts/classiczcars.com/beta.classiczcars.com/system/Node/Controller.php(117): IPS\Dispatcher\Controller->execute()
#5 /var/www/vhosts/classiczcars.com/beta.classiczcars.com/applications/nexus/modules/admin/payments/gateways.php(61): IPS\Node\Controller->execute()
#6 /var/www/vhosts/classiczcars.com/beta.classiczcars.com/applications/nexus/modules/admin/payments/paymentsettings.php(86): IPS\nexus\modules\admin\payments\gateways->execute()
#7 /var/www/vhosts/classiczcars.com/beta.classiczcars.com/system/Dispatcher/Controller.php(128): IPS\nexus\modules\admin\payments\paymentsettings->__call()
#8 /var/www/vhosts/classiczcars.com/beta.classiczcars.com/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
#9 /var/www/vhosts/classiczcars.com/beta.classiczcars.com/admin/index.php(15): IPS\Dispatcher->run()
#10 {main}

Is there another method I can use to disable these automatic payments?  I'm afraid the system will charge people twice for their subscription (production site and beta site).

Thank you!

Mike

Link to comment
Share on other sites

TBH, it would be nice to add a enable/disable function to the payment methods.  This way we can shut off the gateway in times like this.  I noticed the system tried reaching out to Paypal to cancel all the subscriptions but it failed (probably due to the domain name).  So hopefully my production site wasn't affected by a bunch of cancelations.

Link to comment
Share on other sites

24 minutes ago, Mike Gholson said:

Is there another method I can use to disable these automatic payments?  I'm afraid the system will charge people twice for their subscription (production site and beta site).

Thank you!

Mike

There is usually an option for "test" or "sandbox" within your payment gateway provider.  Just put the test payment info in your admin payment section and you should be fine. I'd prefer and on off switch built into IPS, but doubt we'll ever get that.  So the previous option is the best option that I'm aware of. 

Link to comment
Share on other sites

4 hours ago, Mike Gholson said:

Apparently deleting a payment gateway sends a message to Paypal telling them to shut off every single recurring subscription. 

I also recommend some kind of confirmation dialog or an opt-out of this process.  

Mike

Indeed paypal will, but your site doesnt charge out PayPal. Only stripe would actually call out for payment, so had assumed it was stripe you were referring to there unfortunately. When deleting paypal, it does say there that it will remove them

Im pretty sure thats done on a task, so I would delete that copy of the site if they are still running, as it may not have actually cancelled them all yet

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...