Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default payment is pending authorization but no field in the "details" tab to authorize

    URL: https://www.proteawines.jp/shop/
    PHP 8.2
    I have processed the first order with Paypal after upgrading to ZC v2.1.0, and had set the payment status to be "authorize only". In v1.5.6 I would authorize the correct amount manually. I expected to do the same in v2.1.0, but there does not appear to be an authorize field available, only fields for refunds and voiding. Yet the Paypal logs (I have the module set in debug mode) all appear perfectly fine, and there are no general Zen Cart error logs either as far as I can tell.
    Is this expected behaviour, and I should set the payment status to "Final Sale", or am I missing something?
    Name:  paypalExpressScreen.jpg
Views: 208
Size:  22.4 KB
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,699
    Plugin Contributions
    95

    Default Re: payment is pending authorization but no field in the "details" tab to authorize

    I'll suggest grabbing the current version of /includes/modules/payment/paypal/paypalwpp_admin_notification.php from Zen Cart's GitHub repository, specifically the change associated with this commit: https://github.com/zencart/zencart/c...c47eb48bacd05f

  3. #3
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: payment is pending authorization but no field in the "details" tab to authorize

    Hello @lat9
    That worked perfectly, thank you very much. I could capture the transaction successfully.

    I did find something else odd though. I thought I would set the payment option from "Auth Only" to "Final Sale", and that ended up breaking the order display page completely, blank from the Paypal display onwards.
    It turns out that line 476 (in the new file, the old file has it also) has a key MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE which does not seem to exist, as I have not installed the Paypments Pro module:
    PHP Code:
    if (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE == 'Auth Only' || MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only') { 
    I suppose this is some kind of bug as it appears in the paypalwpp_admin_notification.php file.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,699
    Plugin Contributions
    95

    Default Re: payment is pending authorization but no field in the "details" tab to authorize

    Quote Originally Posted by gernot View Post
    Hello @lat9
    That worked perfectly, thank you very much. I could capture the transaction successfully.

    I did find something else odd though. I thought I would set the payment option from "Auth Only" to "Final Sale", and that ended up breaking the order display page completely, blank from the Paypal display onwards.
    It turns out that line 476 (in the new file, the old file has it also) has a key MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE which does not seem to exist, as I have not installed the Paypments Pro module:
    PHP Code:
    if (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE == 'Auth Only' || MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only') { 
    I suppose this is some kind of bug as it appears in the paypalwpp_admin_notification.php file.
    Yep, here's the change that I'll be submitting to correct that issue, adding the highlighted lines prior to that 'if' statement:
    Code:
                zen_define_default('MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE', '');
                zen_define_default('MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE', '');
                if (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE === 'Auth Only' || MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE === 'Auth Only') {
                    if (method_exists($this, '_doAuth')) {

  5. #5
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: payment is pending authorization but no field in the "details" tab to authorize

    Thank you @lat9,
    Done.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

 

 

Similar Threads

  1. Authorize.net "pending"
    By dbetterbid in forum General Questions
    Replies: 3
    Last Post: 21 Oct 2010, 04:14 PM
  2. Replies: 1
    Last Post: 25 Feb 2010, 10:23 AM
  3. increasing the field size of the "products_models" field in the "products" table
    By bod in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 5 Feb 2010, 06:29 AM
  4. "Reviews Pending Approval" Link is active, but no reviews pending... problem...
    By dontknowwhatimdoing in forum Customization from the Admin
    Replies: 7
    Last Post: 12 Aug 2008, 05:01 AM
  5. Replies: 2
    Last Post: 10 Feb 2007, 05:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg