Page 18 of 27 FirstFirst ... 81617181920 ... LastLast
Results 171 to 180 of 265
  1. #171
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,341
    Plugin Contributions
    94

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by Jeff_Mash View Post
    I just got this email from PayPal:

    Code:
    Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:
    
    https://www.mydomain.com/store/ipn_main_handler.php
    When I look at the logs, I see this error:

    Code:
    [20-Sep-2024 09:07:50 America/Los_Angeles] Request URI: /store/ipn_main_handler.php, IP address: 173.0.81.140, Language id 1
    #0 /home/domain/public_html/store/includes/modules/payment/paypal/paypal_functions.php(367): zen_debug_error_handler()
    #1 /home/domain/public_html/store/ipn_main_handler.php(446): ipn_create_order_update_array()
    --> PHP Warning: Undefined array key "pending_reason" in /home/domain/public_html/store/includes/modules/payment/paypal/paypal_functions.php on line 367.
    
    [20-Sep-2024 09:07:50 America/Los_Angeles] Request URI: /store/ipn_main_handler.php, IP address: 173.0.81.140
    --> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID" in /home/domain/public_html/store/ipn_main_handler.php:475
    Stack trace:
    #0 {main}
      thrown in /home/domain/public_html/store/ipn_main_handler.php on line 475.
    Seems like it could be related. I don't think our server went down or anything, so could this be something else?
    Correction provided in Zen Cart 2.0.0 via this PR: https://github.com/zencart/zencart/pull/6316

  2. #172
    Join Date
    Sep 2014
    Location
    Indiana
    Posts
    105
    Plugin Contributions
    0

    Default Re: PayPal RESTful Suddenly stopped allowing successful checkout. Throwing Curl Error

    Good morning. Hoping for some help.

    Paypal Restful 1.0.4 stopped working for us on 9/17. No changes had been made to any files. Upgrade to 1.0.4 in August had been working fine. I checked/ re-installed all files and re-checked all steps. Everything looks fine.

    Checkout seems to all work, but customer gets error message saying, "unable to process Paypal at this time."

    ZC 1.5.8a; Paypal 1.0.4

    Turned on error logging and tried it myself:

    Logfile includes:
    Line 134: The curlPost (v2/checkout/orders) request was successful (200).
    Line 242: The curlPost (v2/checkout/orders/6NH65985XU492371R/confirm-payment-source) request was successful (200).
    Line 334: The curlGet (v2/checkout/orders/6NH65985XU492371R) request was successful (200).
    Line 457: 2024-09-25 09:17:01: (index) Order's status set to APPROVED; posting back to checkout_one_confirmation.
    Line 473: 2024-09-25 09:17:01: (checkout_one_confirmation) pre_confirmation_check, completed for payment-source paypal.
    Lines: 484-493:
    TokenCache::get, using saved access-token; expires in 31559 seconds.
    handleCurlError for curlPost (v2/checkout/orders/6NH65985XU492371R/authorize) : CURL error ({
    "errNum": -2,
    "errMsg": "Operation timed out after 45002 milliseconds with 0 bytes received",
    "curlErrno": 28,
    "name": "n\/a",
    "message": "n\/a",
    "details": "n\/a",
    "debug_id": "n\/a"
    }
    Line 506: 2024-09-25 09:17:46: (checkout_process) ==> End authorizeOrderWe are unable to process your PayPal Checkout payment at this time. Please contact us for assistance.


    From my standpoint as the customer, everything looked fine: logged into Paypal, selected payment method, clicked confirm.

    Any hints as to what needs to be done?

    Thank you.

  3. #173
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,341
    Plugin Contributions
    94

    Default Re: PayPal RESTful Suddenly stopped allowing successful checkout. Throwing Curl Error

    Quote Originally Posted by apollowilcox View Post
    Good morning. Hoping for some help.

    Paypal Restful 1.0.4 stopped working for us on 9/17. No changes had been made to any files. Upgrade to 1.0.4 in August had been working fine. I checked/ re-installed all files and re-checked all steps. Everything looks fine.

    Checkout seems to all work, but customer gets error message saying, "unable to process Paypal at this time."

    ZC 1.5.8a; Paypal 1.0.4

    Turned on error logging and tried it myself:

    Logfile includes:
    Line 134: The curlPost (v2/checkout/orders) request was successful (200).
    Line 242: The curlPost (v2/checkout/orders/6NH65985XU492371R/confirm-payment-source) request was successful (200).
    Line 334: The curlGet (v2/checkout/orders/6NH65985XU492371R) request was successful (200).
    Line 457: 2024-09-25 09:17:01: (index) Order's status set to APPROVED; posting back to checkout_one_confirmation.
    Line 473: 2024-09-25 09:17:01: (checkout_one_confirmation) pre_confirmation_check, completed for payment-source paypal.
    Lines: 484-493:
    TokenCache::get, using saved access-token; expires in 31559 seconds.
    handleCurlError for curlPost (v2/checkout/orders/6NH65985XU492371R/authorize) : CURL error ({
    "errNum": -2,
    "errMsg": "Operation timed out after 45002 milliseconds with 0 bytes received",
    "curlErrno": 28,
    "name": "n\/a",
    "message": "n\/a",
    "details": "n\/a",
    "debug_id": "n\/a"
    }
    Line 506: 2024-09-25 09:17:46: (checkout_process) ==> End authorizeOrderWe are unable to process your PayPal Checkout payment at this time. Please contact us for assistance.


    From my standpoint as the customer, everything looked fine: logged into Paypal, selected payment method, clicked confirm.

    Any hints as to what needs to be done?

    Thank you.
    Sounds like your webhost might have changed something.

  4. #174
    Join Date
    Aug 2004
    Posts
    797
    Plugin Contributions
    0

    Default Re: PayPal RESTful Suddenly stopped allowing successful checkout. Throwing Curl Error

    Deleting original post. We had accidentally clicked on the EDIT order button which caused the error in question. Doesn't seem related to the PayPal Restful module.
    Last edited by Jeff_Mash; 26 Sep 2024 at 12:05 AM.
    - Jeff

  5. #175
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    605
    Plugin Contributions
    0

    Default Re: PayPal RESTful Suddenly stopped allowing successful checkout. Throwing Curl Error

    I posted elsewhere about this same warning from Paypal, and only then saw the reference to this thread. I see that it is valid for 1.58. Can anyone confirm that it will work with 1.57 as well?

  6. #176
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,341
    Plugin Contributions
    94

    Default Re: PayPal RESTful Suddenly stopped allowing successful checkout. Throwing Curl Error

    Quote Originally Posted by HeleneWallis View Post
    I posted elsewhere about this same warning from Paypal, and only then saw the reference to this thread. I see that it is valid for 1.58. Can anyone confirm that it will work with 1.57 as well?
    If "it" is the PayPal RESTful payment module, the answer is "No"; the module requires Zen Carts 1.5.8a or later.

  7. #177
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: PayPal RESTful Suddenly stopped allowing successful checkout. Throwing Curl Error

    The module discussed in this thread is different from the built-in PayPal modules in Zen Cart.

    See https://docs.zen-cart.com/user/payment/paypal_overview/ for details.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #178
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: PayPal RESTful API Payment Module

    Is it just me or is the following backwards?
    Name:  paypallR.png
Views: 64
Size:  15.4 KB
    If I select True, everyone can use CC from PayPal.

    If I select False, only registered customers can use CC from PayPal.

    Ther wording seems to be correct, but the action when selecting True or False seems to be reversed.


  9. #179
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,341
    Plugin Contributions
    94

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by dbltoe View Post
    Is it just me or is the following backwards?
    Name:  paypallR.png
Views: 64
Size:  15.4 KB
    If I select True, everyone can use CC from PayPal.

    If I select False, only registered customers can use CC from PayPal.

    Ther wording seems to be correct, but the action when selecting True or False seems to be reversed.

    I think it's just you.

    true ... anyone checking out (guests included) can use credit cards
    false ... no one can use credit cards
    Account-Holders Only ... anyone with an account can use credit cards, i.e. guest customers cannot.

  10. #180
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: PayPal RESTful API Payment Module

    Do you consider the same results if you slightly modify what is being stated?

    Essentially, it is say do you want to limit and the default is no. (false)

    However, selecting that I do want to limit, gives access to all.

    Perhaps "If you are using One Page Checkout, you can limit credit card payments. Who can access your store's credit card processing? Default Everyone.

    Everyone

    No One

    Account Holders Only


    That covers all the bases although I can't think of a scenario where a business would want to deny CC processing completely unless they're a street-corner, cash-only business.

    I'm probably number 1189 on the top ten list of PHP knowledge but I do have an extensive English background with three English majors in the family. They all guessed that the selection of false let everyone process. All based on the emphasis on limit.

 

 
Page 18 of 27 FirstFirst ... 81617181920 ... LastLast

Similar Threads

  1. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 147
    Last Post: 8 Mar 2025, 06:38 PM
  2. IPower & FirstData API Payment Module
    By spence in forum Addon Payment Modules
    Replies: 6
    Last Post: 7 Jul 2011, 06:33 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR