3 Jan Edited #1

Error in profile when upgrading

Ultimate subscriber

I added a new theme recently to my forum and when a user purchases an upgrade, they get a profile error and are not automatically upgraded.


Fatal error: Uncaught Error: Using $this when not in object context in /mybb/inc/plugins/bankpipe.php(1313) : eval()'d code:4 Stack trace: /mybb/inc/plugins/bankpipe.php(1313): eval() #1 /mybb/inc/class_plugins.php(142): bankpipe_profile('') #2 /mybb/member.php(2949): pluginSystem->run_hooks(Array) #3 {main} thrown in /mybb/inc/plugins/bankpipe.php(1313) : eval()'d code on line 4

In bankpipe settings for this user, it says:
This purchase is currently pending approval by the gateway. Ensure you can accept this payment within your gateway's settings.

However, I have received the payment in Coinbase

What should I do from here?

Edit: I was able to get the error removed by removing $this-> to $lang in bankpipe_purchase_purchases*, however, automatic upgrades are not working
Shade 3 Jan
Is there any error in error.log? Another user lamented pending payments which are handled by webhooks. It’s rather difficult to debug these as they are notifications issued by Coinbase shortly after blockchain verifications. If you have a page hit log it would also help.