[DBTech] DragonByte Donate

[DBTech] DragonByte Donate [Paid] 4.0.3

No permission to buy (€14.95)

DragonByte Tech

Well-known member
DragonByte Tech submitted a new resource:

[DBTech] DragonByte Donate - Accept donations from members.

DragonByte Donate is a professional donation mod, allowing administrators to accept donations from any payment processor you've added to XenForo 2.

Uses

DragonByte Donate is the ideal product for forums that wish to accept donations from their members. Featuring the ability to create multiple different donation drives, an advanced recurring donation drive system and support for multiple payment processors, you will have plenty of options to suit every need.

You can...

Read more about this resource...
 
Getting the following error when testing and trying to donate.

Code:
ErrorException: Fatal Error: Call to a member function getPurchaseFromRequest() on null
src/XF/Pub/Controller/Purchase.php:21
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
["url"] => string(43) "/purchase/dbtech_donate_donation/?driveid=1"
["referrer"] => string(25) "http://www.47r-squad.com/"
["_GET"] => array(1) {
["driveid"] => string(1) "1"
}
["_POST"] => array(8) {
["amount"] => string(4) "5.00"
["currencyid"] => string(3) "USD"
["message"] => string(0) ""
["payment_profile_id"] => string(0) ""
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
I copied what I saw in the sql via phpmyadmin. I’m lost. when i try to test the system and click on the donate button nothing happens after entering the values.
 
Hey @DragonByte Tech, I am getting 2 errors.

1. This, when i am trying to donate
Code:
Error: Call to a member function getPurchaseFromRequest() on null src/XF/Pub/Controller/Purchase.php:21



    Generated by: Jo Dec 5, 2017 at 11:10 AM



Stack trace



#0 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Purchase->actionIndex(Object(XF\Mvc\ParameterBag))

#1 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Purchase', 'Index', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Purchase), NULL)

#2 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))

#3 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()

#4 src/XF.php(328): XF\App->run()

#5 index.php(13): XF::runApp('XF\\Pub\\App')

#6 {main}



Request state



array(4) {

  ["url"] => string(49) "/forum/purchase/dbtech_donate_donation/?driveid=1"

  ["referrer"] => string(65) "***/forum/dbtech-donate/buy-us-a-hummus.1/drive"

  ["_GET"] => array(1) {

    ["driveid"] => string(1) "1"

  }

  ["_POST"] => array(8) {

    ["amount"] => string(2) "11"

    ["currencyid"] => string(3) "USD"

    ["message"] => string(0) ""

    ["payment_profile_id"] => string(0) ""

    ["_xfToken"] => string(8) "********"

    ["_xfRequestUri"] => string(44) "/forum/dbtech-donate/buy-us-a-hummus.1/drive"

    ["_xfWithData"] => string(1) "1"

    ["_xfResponseType"] => string(4) "json"

  }

}

and this one (website crashing), when i am trying to add a PM Threshold in the admin section

Code:
An exception occurred: [ArgumentCountError] Too few arguments to function DBTech\Donate\Entity\Threshold::getPmTitle(), 0 passed in ****/src/addons/DBTech/Donate/Application/Entity.php on line 526 and at least 1 expected in src/addons/DBTech/Donate/Entity/Threshold.php on line 27



    DBTech\Donate\Entity\Threshold->getPmTitle() in src/addons/DBTech/Donate/Application/Entity.php at line 526

    DBTech\Donate\Application\Entity->get() in src/addons/DBTech/Donate/Application/Entity.php at line 1872

    DBTech\Donate\Application\Entity->offsetGet() in src/addons/DBTech/Donate/ActionAdmin/Threshold.php at line 145

    DBTech\Donate\ActionAdmin\Threshold->actionModify() in src/addons/DBTech/Donate/Application/Core.php at line 173

    DBTech\Donate\Application\Core->runAction() in src/addons/DBTech/Donate/Admin/Controller/Route.php at line 39

    DBTech\Donate\Admin\Controller\Route->actionIndex() in src/XF/Mvc/Dispatcher.php at line 249

    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88

    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41

    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1879

    XF\App->run() in src/XF.php at line 328

    XF::runApp() in admin.php at line 13

Here is the content of my xf_purchasable table

Screen Shot 2017-12-05 at 11.34.56 AM.webp

Any help please?
 
Last edited:
I am also seeing the same issue. Upgraded from xf1 to xf2, have identical entries in xf_purchasable table, have identical payment profile
 
I am also seeing the same issue. Upgraded from xf1 to xf2, have identical entries in xf_purchasable table, have identical payment profile
I have not heard back from the other person, would you be willing to set me up with an FTP and AdminCP account so I can look into this issue?

I can't seem to replicate it locally so I'm really not sure what's going on here. Sorry :(


Fillip
 
Still getting the same error:

Code:
ErrorException: Fatal Error: Call to a member function getPurchaseFromRequest() on null src/XF/Pub/Controller/Purchase.php:21

Generated by: IcEWoLF Dec 6, 2017 at 6:21 PM

Stack trace

#0 [internal function]: XF::handleFatalError()

#1 {main}

Request state

array(4) {

  ["url"] => string(43) "/purchase/dbtech_donate_donation/?driveid=1"

  ["referrer"] => string(25) "http://www.47r-squad.com/"

  ["_GET"] => array(1) {

    ["driveid"] => string(1) "1"

  }

  ["_POST"] => array(8) {

    ["amount"] => string(4) "5.00"

    ["currencyid"] => string(3) "USD"

    ["message"] => string(0) ""

    ["payment_profile_id"] => string(0) ""

    ["_xfToken"] => string(8) "********"

    ["_xfRequestUri"] => string(1) "/"

    ["_xfWithData"] => string(1) "1"

    ["_xfResponseType"] => string(4) "json"

  }

}
 
Back
Top Bottom