Bug Error when refunding PayPal transactions

wlanthermo

Customer
when refunding transactions from PayPal this error occurs:

Code:
Server-Fehlerprotokoll

    TypeError: Argument 2 passed to DBTech\eCommerce\Service\Order\Reverse::__construct() must be an instance of DBTech\eCommerce\Entity\Order, null given, called in /var/www/vhosts/h2777508.stratoserver.net/forum.wlanthermo.de/src/XF/Container.php on line 275 src/addons/DBTech/eCommerce/Service/Order/Reverse.php:37

    Generiert von: Unbekanntes Konto 15 Mai 2019 um 00:52

Stack-Trace

#0 src/XF/Container.php(275): DBTech\eCommerce\Service\Order\Reverse->__construct(Object(XF\Pub\App), NULL, Object(XFRM\XF\Entity\User))
#1 src/XF/App.php(1563): XF\Container->createObject('DBTech\\eCommerc...', Array)
#2 src/XF/Container.php(228): XF\App->XF\{closure}('DBTech\\eCommerc...', Array, Object(XF\Container))
#3 src/XF/App.php(2769): XF\Container->create('service', 'DBTech\\eCommerc...', Array)
#4 src/addons/DBTech/eCommerce/Purchasable/Order.php(318): XF\App->service('DBTech\\eCommerc...', NULL, Object(XFRM\XF\Entity\User))
#5 src/XF/Payment/AbstractProvider.php(180): DBTech\eCommerce\Purchasable\Order->reversePurchase(Object(XF\Payment\CallbackState))
#6 payment_callback.php(62): XF\Payment\AbstractProvider->completeTransaction(Object(XF\Payment\CallbackState))
#7 {main}

Status der Anfrage

array(4) {
  ["url"] => string(40) "/payment_callback.php?_xfProvider=paypal"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["_xfProvider"] => string(6) "paypal"
  }
  ["_POST"] => array(41) {
    ["mc_gross"] => string(5) "-2.10"
    ["protection_eligibility"] => string(8) "Eligible"
    ["payer_id"] => string(13) "HQKSXXXXXXEU"
    ["address_street"] => NULL
    ["payment_date"] => string(25) "17:05:41 May 13, 2019 PDT"
    ["payment_status"] => string(8) "Refunded"
    ["charset"] => string(12) "windows-1252"
    ["address_zip"] => string(4) "8053"
    ["first_name"] => string(7) "XXX"
    ["mc_fee"] => string(5) "-0.07"
    ["address_country_code"] => string(2) "AT"
    ["address_name"] => string(14) "XXXXXX XXXX"
    ["notify_version"] => string(3) "3.9"
    ["reason_code"] => string(6) "refund"
    ["custom"] => string(32) "ucjQzZol7XXXXXXXXX1FL9H7hZk5"
    ["business"] => string(26) "XXXXXX"
    ["address_country"] => string(7) "XXXX"
    ["address_city"] => string(4) "XXX"
    ["verify_sign"] => string(56) "Ayo.6TG2N7kWp72yXXXXXXXXRkS78lMIdlODc-RNWSwl"
    ["payer_email"] => string(20) "XXXXXXX@gmail.com"
    ["parent_txn_id"] => string(17) "88B16XXXXXXX33639"
    ["txn_id"] => string(17) "8FR84XXXXXXX463W"
    ["payment_type"] => string(7) "instant"
    ["last_name"] => string(7) "XXXXX"
    ["address_state"] => string(0) ""
    ["receiver_email"] => string(26) "XXXXXXX"
    ["payment_fee"] => string(0) ""
    ["shipping_discount"] => string(4) "0.00"
    ["receiver_id"] => string(13) "5DMXXXXXXKJMS"
    ["insurance_amount"] => string(4) "0.00"
    ["item_name"] => string(32) "eCommerce order #12 (XXXXXX)"
    ["discount"] => string(4) "0.00"
    ["mc_currency"] => string(3) "EUR"
    ["item_number"] => string(0) ""
    ["residence_country"] => string(2) "AT"
    ["handling_amount"] => string(4) "0.00"
    ["shipping_method"] => string(7) "Default"
    ["transaction_subject"] => string(0) ""
    ["payment_gross"] => string(0) ""
    ["shipping"] => string(4) "0.00"
    ["ipn_track_id"] => string(13) "48XXXXXX2dc6"
  }
 

Fillip H.

Staff member
Owner
Developer
I'll add a workaround for that to the next version.

For the future, can you please post support threads in the correct support forum? Posting eCommerce support threads in the support forum for the Tickets mod is not correct.

Thank you.
 

DragonByte eCommerce

XenForo 2.0.6+ XenForo 2.1.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
494
Customer rating
4.67 star(s) 3 ratings
Top