Jump to content

Featured Replies

Posted

We have a membership product that renews annually that moves a member into a paid member group. Works fine.

A user had created a second account and bought a membership there. I merged that new account into the user's original account. When I did, the payment history for the membership purchase was retained but the primary group reverted to guest. I've manually changed the primary group to paid member, but that won't expire at the end of the year.

I suppose I should have merged the old account into the new one and changed the name afterwards. Too late now.

Ideas?

  • Author

Hmmm....what if I change primary group back to guest, log in to the user's account, buy (another) membership, and record payment by check. That should set renewal to a year from now and not affect accounting.

  • Community Expert

Why not just issue an invoice for the subscription in the ACP and subtract the cost of the membership with a miscellaneous line item. That way it's free for the user now (since they already paid) but on next renewal they'll have to pay.

  • Author

Tried to issue an invoice. Got EX0 error upon trying to add a product to the invoice.

TypeError: IPS\Lang::addToStack(): Argument #1 ($key) must be of type string, null given, called in /var/www/html/5000069/applications/nexus/extensions/nexus/Item/Package.php on line 259 (0)

#0 /var/www/html/5000069/applications/nexus/extensions/nexus/Item/Package.php(259): IPS\Lang->addToStack(NULL)

#1 /var/www/html/5000069/applications/nexus/modules/admin/payments/invoices.php(1208): IPS\nexus\extensions\nexus\Item\Package::formSecondStep(Array, Object(IPS\Helpers\Form), Object(IPS\nexus\Invoice))

#2 /var/www/html/5000069/system/Helpers/Wizard/Wizard.php(194): IPS\nexus\modules\admin\payments\invoices->IPS\nexus\modules\admin\payments\{closure}(Array)

#3 /var/www/html/5000069/applications/nexus/modules/admin/payments/invoices.php(1273): IPS\Helpers\Wizard->__toString()

#4 /var/www/html/5000069/system/Dispatcher/Controller.php(128): IPS\nexus\modules\admin\payments\invoices->generate()

#5 /var/www/html/5000069/applications/nexus/modules/admin/payments/invoices.php(93): IPS\Dispatcher\Controller->execute()

#6 /var/www/html/5000069/system/Dispatcher/Dispatcher.php(169): IPS\nexus\modules\admin\payments\invoices->execute()

#7 /var/www/html/5000069/admin/index.php(15): IPS\Dispatcher->run()

#8 {main}

  • Author

I went to account activity in member view in the ACP and clicked on the recent membership (created from invoice). That gave the option to transfer the membership, and I transferred it to the same account. Seems to have worked.

  • Community Expert
18 minutes ago, NSPN said:

Tried to issue an invoice. Got EX0 error upon trying to add a product to the invoice.

TypeError: IPS\Lang::addToStack(): Argument #1 ($key) must be of type string, null given, called in /var/www/html/5000069/applications/nexus/extensions/nexus/Item/Package.php on line 259 (0)

#0 /var/www/html/5000069/applications/nexus/extensions/nexus/Item/Package.php(259): IPS\Lang->addToStack(NULL)

#1 /var/www/html/5000069/applications/nexus/modules/admin/payments/invoices.php(1208): IPS\nexus\extensions\nexus\Item\Package::formSecondStep(Array, Object(IPS\Helpers\Form), Object(IPS\nexus\Invoice))

#2 /var/www/html/5000069/system/Helpers/Wizard/Wizard.php(194): IPS\nexus\modules\admin\payments\invoices->IPS\nexus\modules\admin\payments\{closure}(Array)

#3 /var/www/html/5000069/applications/nexus/modules/admin/payments/invoices.php(1273): IPS\Helpers\Wizard->__toString()

#4 /var/www/html/5000069/system/Dispatcher/Controller.php(128): IPS\nexus\modules\admin\payments\invoices->generate()

#5 /var/www/html/5000069/applications/nexus/modules/admin/payments/invoices.php(93): IPS\Dispatcher\Controller->execute()

#6 /var/www/html/5000069/system/Dispatcher/Dispatcher.php(169): IPS\nexus\modules\admin\payments\invoices->execute()

#7 /var/www/html/5000069/admin/index.php(15): IPS\Dispatcher->run()

#8 {main}

If you're using a custom language pack, I would switch to an unmodified one and try again.

  • Author

Standard pack with very few mods.

  • Community Expert

Please provide full details so we can replicate this on your site and take a look for you

  • Author

Full details of what specifically? Perhaps best to open a ticket for private comms...

  • Community Expert
13 minutes ago, NSPN said:

Full details of what specifically? Perhaps best to open a ticket for private comms...

I have opened a ticket and sent you some information we need there. But essentially we need to know which user, which item items being added etc

Recently Browsing 0

  • No registered users viewing this page.