Fixed Server error log

The Matrix

Active member
Affected version
2.1.8
Hello

after Upgraded to 2.1.8 i got error when member upgraded account via PayPal , it is Loop Error, that mean when member upgraded it he had one month upgrade to another group access but after minutes i got same error and he have more one month and after minutes got another month , so he upgraded one time but got many months for pay one month
error is

Code:
    Error: Call to undefined method XF\Payment\CallbackState::getPurcahser() src/XF/Purchasable/AbstractPurchasable.php:113
    Generated by: Unknown account Mar 18, 2020 at -----
   
   
    Stack trace

#0 src/XF/Payment/AbstractProvider.php(175): XF\Purchasable\AbstractPurchasable->sendPaymentReceipt(Object(XF\Payment\CallbackState))
#1 payment_callback.php(63): XF\Payment\AbstractProvider->completeTransaction(Object(XF\Payment\CallbackState))
#2 {main}

Request state

array(4) {
  ["url"] => string(40) "/payment_callback.php?_xfProvider=paypal"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["_xfProvider"] => string(6) "paypal"
  }
  ["_POST"] => array(33) {
    ["mc_gross"] => string(5) "???"
    ["protection_eligibility"] => string(10) "Ineligible"
    ["payer_id"] => string(13) "????"
    ["payment_date"] => string(25) "????"
    ["payment_status"] => string(9) "Completed"
    ["charset"] => string(12) "windows-1252"
    ["first_name"] => string(6) "Simple"
    ["mc_fee"] => string(4) "1.45"
    ["notify_version"] => string(3) "3.9"
    ["custom"] => string(32) "????"
    ["payer_status"] => string(10) "????"
    ["business"] => string(24) "?????"
    ["quantity"] => string(1) "1"
    ["verify_sign"] => string(56) "????"
    ["payer_email"] => string(22) "????"
    ["txn_id"] => string(17) "?????"
    ["payment_type"] => string(7) "instant"
    ["last_name"] => string(3) "Hax"
    ["receiver_email"] => string(24) "?????"
    ["payment_fee"] => string(0) ""
    ["shipping_discount"] => string(4) "0.00"
    ["receiver_id"] => string(13) "?????"
    ["insurance_amount"] => string(4) "0.00"
    ["txn_type"] => string(10) "web_accept"
    ["item_name"] => string(52) "???????"
    ["discount"] => string(4) "0.00"
    ["mc_currency"] => string(3) "EUR"
    ["item_number"] => string(0) ""
    ["residence_country"] => string(2) "IE"
    ["shipping_method"] => string(7) "Default"
    ["transaction_subject"] => string(0) ""
    ["payment_gross"] => string(0) ""
    ["ipn_track_id"] => string(13) "?????"
  }
}

I replaced some info with ?????
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.8 Patch 1).

Change log:
Fix typo when sending purchase receipt.
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom