Question Server Error after guest purchase

Status
Not open for further replies.

omar adil

Customer
hello support team,
contact us form for xenforo in the admin CP had been disabled by me already before this purchase if this issue related to it.
I just let my sister tried to purchase product and the payment received in my paypal account,
but I saw this server error and don't know what it is

Code:
ErrorException: Template error: [E_USER_WARNING] Cannot call method canUseContactForm on a non-object (NULL) src/XF/Template/Templater.php:1177
Generated by: Unknown account Jan 27, 2023 at 6:56 PM

Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/facejawc/...', 1177, Array)
#1 src/XF/Template/Templater.php(1177): trigger_error('Cannot call met...', 512)
#2 internal_data/code_cache/templates/l1/s1/email/payment_received_receipt_dbtech_ecommerce_order.php(41): XF\Template\Templater->method(NULL, 'canUseContactFo...', Array)
#3 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(XF\Mail\Templater), Array, NULL)
#4 src/XF/Mail/Mailer.php(221): XF\Template\Templater->renderTemplate('payment_receive...', Array)
#5 src/XF/Mail/Mailer.php(155): XF\Mail\Mailer->renderPartialMailTemplate('payment_receive...', Array, Object(XF\Language), NULL)
#6 src/XF/Mail/Mail.php(337): XF\Mail\Mailer->renderMailTemplate('payment_receive...', Array, Object(XF\Language), NULL)
#7 src/XF/Mail/Mail.php(405): XF\Mail\Mail->renderTemplate()
#8 src/XF/Mail/Mail.php(419): XF\Mail\Mail->getSendableMessage()
#9 src/addons/DBTech/eCommerce/Purchasable/Order.php(436): XF\Mail\Mail->send()
#10 src/XF/Payment/AbstractProvider.php(184): DBTech\eCommerce\Purchasable\Order->sendPaymentReceipt(Object(XF\Payment\CallbackState))
#11 payment_callback.php(63): XF\Payment\AbstractProvider->completeTransaction(Object(XF\Payment\CallbackState))
#12 {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(34) {
    ["mc_gross"] => string(4) "5.00"
    ["protection_eligibility"] => string(8) "Eligible"
    ["payer_id"] => string(13) "AFGNBUUYDT65Y"
    ["tax"] => string(4) "0.00"
    ["payment_date"] => string(25) "08:56:33 Jan 27, 2023 PST"
    ["payment_status"] => string(9) "Completed"
    ["charset"] => string(12) "windows-1252"
    ["first_name"] => string(4) "Reem"
    ["mc_fee"] => string(4) "0.52"
    ["notify_version"] => string(3) "3.9"
    ["custom"] => string(32) "A5Oa7iqnqL-dZkm7zcVyStBAxHYPZ-X0"
    ["payer_status"] => string(8) "verified"
    ["business"] => string(22) "dentistfield@gmail.com"
    ["quantity"] => string(1) "1"
    ["verify_sign"] => string(56) "Ak9yu9T..mzr.7OZMtl6VRvHq5l.A8iUQtd4mF6-xAeb0rHrKPyUlCLX"
    ["payer_email"] => string(22) "dr.reem.adil@gmail.com"
    ["txn_id"] => string(17) "9DX53708E2629504N"
    ["payment_type"] => string(7) "instant"
    ["last_name"] => string(6) "Bayati"
    ["receiver_email"] => string(22) "dentistfield@gmail.com"
    ["payment_fee"] => string(4) "0.52"
    ["shipping_discount"] => string(4) "0.00"
    ["receiver_id"] => string(13) "D9GURWCF32326"
    ["insurance_amount"] => string(4) "0.00"
    ["txn_type"] => string(10) "web_accept"
    ["item_name"] => string(22) "eCommerce order #15 ()"
    ["discount"] => string(4) "0.00"
    ["mc_currency"] => string(3) "USD"
    ["item_number"] => string(0) ""
    ["residence_country"] => string(2) "US"
    ["shipping_method"] => string(7) "Default"
    ["transaction_subject"] => string(0) ""
    ["payment_gross"] => string(4) "5.00"
    ["ipn_track_id"] => string(13) "044b5031398a9"
  }
}
 
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 release (3.1.0).

Change log:
Fix: Fix an error that can occur with guest checkouts

 
Hello @omar adil,

We hope your ticket regarding DragonByte eCommerce 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.
 
Status
Not open for further replies.

DragonByte eCommerce

XenForo 2.0.6+ XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
2,405
Customer rating
4.83 star(s) 6 ratings
Back
Top