DragonByte Tech
Well-known member
No, sorry.Is there same events for open charge tag?
Charge decreased - the event for charging other users to open charge tag
Charge increased - the event for granting credits to the owner's charge tag
No, sorry.Is there same events for open charge tag?
Charge decreased - the event for charging other users to open charge tag
Charge increased - the event for granting credits to the owner's charge tag
Update highlights
This version fixes an issue with the currency privacy setting, as well as a few PHP 8.1 related issues.
Complete Change Log
Fix: Fix an issue where the "Show to self and designated user groups" currency privacy setting did not apply correctly
Fix: Content type reference in the Transaction entity
Fix: Fix PHP 8.1 compatibility issue
Confirmed, I'll fix this in the next version with this message:Found what I consider a bug.
If I donate to a user that has a state presumably other than valid (I tested with rejected and disabled), the source user gets charged the donation amount, but the target user does not get the donation.
IMO, a user that has a state anything other than valid should not be able to be donated to, or at a minimum the transaction automatically moderated.
This is not currently supported by the Credits payment profile, sorry.Dear @DragonByte Tech I am using dragonbyte e commerce and dragonbyte credit plugins. The balance is reduced after the member receives a physical product, there are no problems with this part. So, what do I need to do to restore the credit spent on the member's account when the purchase was canceled?
What's the column definition of theI'm having this error in my error-log (latest version of DB Credits AddOn):
lcs
column?In that case I have no idea why your server throws that error. I'd advise asking your database admin, as they might have more insight whether this is a bug with your version of MySQL/MariaDB or whether I need to make a change.
I am (kinda) the DB admin. We are on mySQL 8.0.26, maybe that's the reason for the hickup?In that case I have no idea why your server throws that error. I'd advise asking your database admin, as they might have more insight whether this is a bug with your version of MySQL/MariaDB or whether I need to make a change.
No idea, locally I develop on MariaDB and I don't have the problem. I'm not sure what else to do to be honest.I am (kinda) the DB admin. We are on mySQL 8.0.26, maybe that's the reason for the hickup?
I'm using 5.3.2 version, this is exactly what I receive from one single person, same info and same name same email in server error log:
- XF\PrintableException: Please enter a number that is at least 0.01
- src/XF/Mvc/Entity/Entity.php:1154
Stack Trace
#0 src/addons/DBTech/Credits/EventTrigger/Purchase.php(47): XF\Mvc\Entity\Entity->save()
#1 src/addons/DBTech/Credits/EventTrigger/AbstractHandler.php(609): DBTech\Credits\EventTrigger\Purchase->postSave(Object(DBTech\Credits\Entity\Transaction))
#2 src/addons/DBTech/Credits/EventTrigger/AbstractHandler.php(258): DBTech\Credits\EventTrigger\AbstractHandler->trigger(Object(LiamW\AccountDelete\XF\Entity\User), 810, false, Object(ArrayObject))
#3 src/addons/DBTech/Credits/Purchasable/Currency.php(241): DBTech\Credits\EventTrigger\AbstractHandler->apply(810, Array, Object(LiamW\AccountDelete\XF\Entity\User))
#4 src/XF/Payment/AbstractProvider.php(184): DBTech\Credits\Purchasable\Currency->completePurchase(Object(XF\Payment\CallbackState))
#5 payment_callback.php(63): XF\Payment\AbstractProvider->completeTransaction(Object(XF\Payment\CallbackState))
#6 {main}
array(4) {
["url"] => string(40) "/payment_callback.php?_xfProvider=paypal"
["referrer"] => bool(false)
["_GET"] => array(1) {
["_xfProvider"] => string(6) "paypal"
}
["_POST"] => array(35) {
["mc_gross"] => string(5) "13.08"
["protection_eligibility"] => string(8) "Eligible"
["payer_id"] => string(13) "id"
["payment_date"] => string(25) "08:32:43 Oct 22, 2020 PDT"
["payment_status"] => string(17) "Canceled_Reversal"
["charset"] => string(12) "windows-1252"
["first_name"] => string(3) "X"
["mc_fee"] => string(4) "0.92"
["notify_version"] => string(3) "3.9"
["reason_code"] => string(5) "other"
["custom"] => string(32) "z"
["business"] => string(23) "mysite@email.com"
["verify_sign"] => string(56) "A long strIngggggggggggggggggggggggggggggg"
["payer_email"] => string(23) "email@gmail.com"
["parent_txn_id"] => string(17) "xxx"
["txn_id"] => string(17) "xxx"
["payment_type"] => string(7) "instant"
["payer_business_name"] => string(7) "user"
["last_name"] => string(6) "user"
["receiver_email"] => string(23) "mysite@email.com"
["payment_fee"] => string(4) "0.92"
["shipping_discount"] => string(4) "0.00"
["receiver_id"] => string(13) "xxx"
["insurance_amount"] => string(4) "0.00"
["item_name"] => NULL
["discount"] => string(4) "0.00"
["mc_currency"] => string(3) "USD"
["item_number"] => string(0) ""
["residence_country"] => string(2) "US"
["handling_amount"] => string(4) "0.00"
["shipping_method"] => string(7) "Default"
["transaction_subject"] => string(0) ""
["payment_gross"] => string(5) "13.08"
["shipping"] => string(4) "0.00"
["ipn_track_id"] => string(13) "z"
}
}
Can you show me the relevant transaction log entry from theI received this 10 times this month. This bug is causing many issues as our users are not getting what they paid for. Is there anything we can do?
xf_dbtech_credits_transaction
table?We use essential cookies to make this site work, and optional cookies to enhance your experience.