Resource icon

[bd] Paygates 1.5.2

No permission to download
Do you include that options in next update version ?
That's unlikely sorry. Integration if any is usually done in a separated add-on just like with other paygates. This core add-on only supports the foundation and replace the built-in PayPal integration.
 
I private messaged him regarding this and he said it would cost around $100, so I don't see it happening - I'd gladly tip in a jar with some others to have it made though.
Well if more people are willing to contribute i am in. So what do you say people? lets chip in to see this addon grow.
 
Getting this error

Code:
Server Error Log
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Column 'user_upgrade_record_id' cannot be null - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Unknown Account, 3 minutes ago
Stack Trace
#0 /home/nginx/domains/religiousforums.com/public/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/nginx/domains/religiousforums.com/public/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/nginx/domains/religiousforums.com/public/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /home/nginx/domains/religiousforums.com/public/library/XenForo/Model/UserUpgrade.php(574): Zend_Db_Adapter_Abstract->insert('xf_user_upgrade...', Array)
#4 [internal function]: XenForo_Model_UserUpgrade->logProcessorCallback(NULL, 'bdpaygate', 'paypal_47T32283...', 'payment', 'Upgraded user m...', Array, 'I-3ADS8KM4597W')
#5 /home/nginx/domains/religiousforums.com/public/library/bdPaygate/Model/Processor.php(320): call_user_func_array(Array, Array)
#6 /home/nginx/domains/religiousforums.com/public/library/bdPaygate/Model/Processor.php(148): bdPaygate_Model_Processor->_processUserUpgrade(true, Array, Array, Object(bdPaygate_Processor_PayPal), 3.95, 'USD')
#7 /home/nginx/domains/religiousforums.com/public/library/bdPaygate/Processor/Abstract.php(251): bdPaygate_Model_Processor->processItem('user_upgrade|47...', Object(bdPaygate_Processor_PayPal), 3.95, 'USD')
#8 /home/nginx/domains/religiousforums.com/public/bdpaygate/callback.php(120): bdPaygate_Processor_Abstract->processTransaction('accepted', 'user_upgrade|47...', 3.95, 'USD')
#9 {main}
Request State
array(3) {
  ["url"] => string(63) "https://www.religiousforums.com/bdpaygate/callback.php?p=paypal"
  ["_GET"] => array(1) {
    ["p"] => string(6) "paypal"
  }
  
}
 
Last edited:
You should remove the POST data in the log entry. And it looks like this user is trying to purchase a disabled user upgrade or something. Or do you have any add-on related to user upgrades that may conflict?
I recently have this error too after a user successfully purchased an only active upgrade. Never seen it before.
 
i am starting to get many errors like this:

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Column 'user_upgrade_record_id' cannot be null - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Unknown Account, 6 minutes ago
Stack Trace
#0 /home/unkn0wn/public_html/forums/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/unkn0wn/public_html/forums/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/unkn0wn/public_html/forums/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /home/unkn0wn/public_html/forums/library/XenForo/Model/UserUpgrade.php(574): Zend_Db_Adapter_Abstract->insert('xf_user_upgrade...', Array)
#4 [internal function]: XenForo_Model_UserUpgrade->logProcessorCallback(NULL, 'bdpaygate', 'paypal_4W571881...', 'payment', 'Upgraded user R...', Array, 'I-EDTN2KHPNCKY')
#5 /home/unkn0wn/public_html/forums/library/bdPaygate/Model/Processor.php(320): call_user_func_array(Array, Array)
#6 /home/unkn0wn/public_html/forums/library/bdPaygate/Model/Processor.php(148): bdPaygate_Model_Processor->_processUserUpgrade(true, Array, Array, Object(bdPaygate_Processor_PayPal), 5, 'USD')
#7 /home/unkn0wn/public_html/forums/library/bdPaygate/Processor/Abstract.php(251): bdPaygate_Model_Processor->processItem('user_upgrade|13...', Object(bdPaygate_Processor_PayPal), 5, 'USD')
#8 /home/unkn0wn/public_html/forums/bdpaygate/callback.php(120): bdPaygate_Processor_Abstract->processTransaction('accepted', 'user_upgrade|13...', 5, 'USD')
#9 {main}
Request State
array(3) {
  ["url"] => string(63) "http://portalcentric.net/forums/bdpaygate/callback.php?p=paypal"
  ["_GET"] => array(1) {
    ["p"] => string(6) "paypal"
  }
  ["_POST"] => array(29) {
    ["transaction_subject"] => string(76) "Account Upgrade: VIP Upgrade Monthly Subscription [Recurring] (simon1231992)"
    ["payment_date"] => string(25) "03:30:45 Feb 20, 2015 PST"
    ["txn_type"] => string(14) "subscr_payment"
    ["subscr_id"] => string(14) "hidden"
    ["last_name"] => string(8) "hidden"
    ["residence_country"] => string(2) "GB"
    ["item_name"] => string(76) "Account Upgrade: VIP Upgrade Monthly Subscription [Recurring] (simon1231992)"
    ["payment_gross"] => string(4) "5.00"
    ["mc_currency"] => string(3) "USD"
    ["business"] => string(21) "hidden"
    ["payment_type"] => string(7) "instant"
    ["protection_eligibility"] => string(10) "Ineligible"
    ["verify_sign"] => string(56) "A-WJTA1X6jBM7EubY43l8B2oxZQlAgUc52S1b0uCJ2hYJPo7eYUUBlKH"
    ["payer_status"] => string(8) "verified"
    ["payer_email"] => string(30) "hidden"
    ["txn_id"] => string(17) "hidden"
    ["receiver_email"] => string(21) "hidden"
    ["first_name"] => string(5) "simon"
    ["payer_id"] => string(13) "hidden"
    ["receiver_id"] => string(13) "hidden"
    ["payer_business_name"] => string(14) "wwfc111_gaming"
    ["payment_status"] => string(9) "Completed"
    ["payment_fee"] => string(4) "0.48"
    ["mc_fee"] => string(4) "0.48"
    ["mc_gross"] => string(4) "5.00"
    ["custom"] => string(26) "user_upgrade|13015|0b500|1"
    ["charset"] => string(12) "windows-1252"
    ["notify_version"] => string(3) "3.8"
    ["ipn_track_id"] => string(13) "a976387d8a3ac"
  }
}

the "Hidden" values represent real data but i have hidden them as they may be sensitive info..

do i need to go to my paypal and tell it to use ur callback script floated here:
bdpaygate/callback.php

instead of the default payment_callback.php ?
 
Got a weird issue today where the upgrade is followed immediately by a downgrade of the same person.
The errors have been weird last few days.
 
Have you checked transaction log?
Yes.
There is nothing related to this member in transaction log. I see a downgrade entry in the Paygates log. I have to manually upgrade that member.
Some entries are logged in transaction log, some are in Paygates log
 
@xfrocks Is there any chance that there could be an option, to use the default XF payment processing (default paypal) for recurring subscriptions? I used this add-on for some time but then ran into problems with the Stripe payment buttons disappearing. So I had to uninstall, but that of course broke all recurring payments made with this add-on (paypal or stripe). So while I'd love to give it another go, I'm weary to install again because I'd have to fix all the recurring subs if we had to uninstall at some future date.
 
Top Bottom