Bug Amount in donation

kick

Customer
XF\Db\Exception: MySQL query error [1264]: Out of range value for column 'amount' at row 1 src/XF/Db/AbstractStatement.php:217

NSERT INTO xf_dbtech_donate_donation (user_id, amount, currency_id, dateline, drive_id, recurring, length_amount, length_unit, message, is_public, is_test, is_confirmed, donation_id, ip_id, transaction_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1264, '22003')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1264, '22003')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(221): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1452): XF\Db\AbstractAdapter->insert('xf_dbtech_donat...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1184): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/addons/DBTech/Donate/Purchasable/Donation.php(126): XF\Mvc\Entity\Entity->save()
#7 src/XF/Pub/Controller/Purchase.php(21): DBTech\Donate\Purchasable\Donation->getPurchaseFromRequest(Object(XF\Http\Request), Object(SV\CollaborativeThreads\XF\Entity\User), NULL)
#8 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Purchase->actionIndex(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:purchase', 'Index', Object(XF\Mvc\RouteMatch), Object(TC\PaygateDigiseller\XF\Pub\Controller\Purchase), NULL)
#10 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(TC\PaygateDigiseller\XF\Pub\Controller\Purchase), NULL)
#11 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#13 src/XF.php(390): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}

array(4) {
["url"] => string(44) "/purchase/dbtech_donate_donation/?drive_id=1"
["referrer"] => string(23) "/"
["_GET"] => array(1) {
["drive_id"] => string(1) "1"
}
["_POST"] => array(10) {
["donation_option"] => string(6) "custom"
["amount"] => string(10) "1000000000"
["currency_id"] => string(3) "RUB"
["message"] => string(0) ""
["anonymous"] => string(1) "1"
["payment_profile_id"] => string(1) "3"
["_xfToken"] => string(8) "****"
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 

Fillip H.

Staff member
Owner
Developer
Sorry for the delay, this has now been fixed in my development build and I'll release the update probably at some point this week.

Thanks!
 

DragonByte Technologies

Company Information
Staff member
Company Info
Hello @kick,

We hope your ticket regarding DragonByte Donate has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 

DragonByte Donate

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
911
Customer rating
5.00 star(s) 1 ratings
Top