Page 1 of 2 12 LastLast
Results 1 to 10 of 93

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,576
    Plugin Contributions
    88

    Default PayPal RESTful API Payment Module

    This Zen Cart payment module (paypalr) combines the processing for the PayPal Payments Pro (paypaldp) and PayPal Express Checkout (paypalwpp) payment modules that are currently built into Zen Cart distributions. Instead of using the older NVP (Name Value Pair) methods to communicate with PayPal, this payment module uses PayPal's now-current REST APIs and combines the two legacy methods into one.

    Zen Cart Support Thread: https://www.zen-cart.com/forumdisplay.php?170-PayPal-RESTful-support

    Zen Cart Plugin Download Link: https://www.zen-cart.com/downloads.php?do=file&id=2382

    The module's operation has been validated …

    1. With PHP versions 7.4 through 8.3; PHP 7.3 will result in fatal PHP errors!
    2. In Zen Cart's 3-page checkout environment (v1.5.8a and v2.0.0)
    3. With One-Page Checkout (OPC), v2.4.6
      1. Using OPC's guest-checkout feature.
      2. Both requiring confirmation and not!

    4. With both the built-in responsive_classic and ZCA Bootstrap (v3.6.1) templates.


    For additional information, refer to the payment-module's wiki articles.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,576
    Plugin Contributions
    88

    Default Re: PayPal RESTful API Payment Module

    Please note: The current release (v1.0.0-beta4) is a beta version! While I've tested it extensively, I suggest giving it a try on your test site using a PayPal sandbox account first.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,755
    Plugin Contributions
    124

    Default Re: PayPal RESTful API Payment Module

    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.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,755
    Plugin Contributions
    124

    Default Re: PayPal RESTful API Payment Module

    Credit to @lat9 for undertaking this labor of love.

    Updated integrations with UPS, FedEx, USPS and now PayPal will give Zen Cart - and your stores - a new lease on life.
    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.

  5. #5
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,036
    Plugin Contributions
    61

    Default Re: PayPal RESTful API Payment Module

    Zen Cart 1.5.8
    Bootstrap 3.5.0
    OPC 2.4.5
    PHP 7.4.33

    Payment modules installed: freecharger, moneyorder & paypalr
    Order total modules installed: ot_shipping, ot_coupon, ot_subtotal, ot_tax & ot_subtotal
    Shipping modules installed: freeshipper & usps

    Other modules installed: RCS, Sales Report w/ Graphs & IH5.

    Guest checkout, first test after configuration, clicked PayPal button... no checkbox/radio button seems very confusing with the express button on the checkout/payment page. The button is clickable, but goes no where.

    Click image for larger version. 

Name:	Park-Flyer-Plastics-Official-Website-of-ParkFlyer-Plastics-Hobby-Accessories-Texas-USA.jpg 
Views:	308 
Size:	31.3 KB 
ID:	20448


    So I click it, then confirm order and it fails to the following page & error.


    Page Not Found
    https://domain.com/cart/ppr_webhook_...=B8KWPQT6BCWP8

    The logs looks very much like it completed its work... last few lines

    2024-01-15 13:36:02: (checkout_one_confirmation) ==> End confirmPaymentSource
    2024-01-15 13:36:02: (checkout_one_confirmation) pre_confirmation_check, sending the payer-action off to PayPal.
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,576
    Plugin Contributions
    88

    Default Re: PayPal RESTful API Payment Module

    You missed the root-directory file ppr_webhook_main.php; that's where the 404 came from. Zen Cart 1.5.8 or 1.5.8a?

  7. #7
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,036
    Plugin Contributions
    61

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by lat9 View Post
    You missed the root-directory file ppr_webhook_main.php; that's where the 404 came from. Zen Cart 1.5.8 or 1.5.8a?
    1.5.8

    Sure did miss, thank a bunch!

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  8. #8
    Join Date
    Nov 2007
    Location
    USA
    Posts
    881
    Plugin Contributions
    5

    Default Re: PayPal RESTful API Payment Module

    Will this be part of the ZC 2.0 release?
    Cheers!
    v2.0+

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,576
    Plugin Contributions
    88

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by Webskipper View Post
    Will this be part of the ZC 2.0 release?
    Nope, it needs to "get its feet wet" before committing to core.

  10. #10
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,246
    Plugin Contributions
    1

    Default Re: PayPal RESTful API Payment Module

    ZC 1.5.8a
    PHP 8.1.27
    PayPal Checkout (RESTful) 1.0.1
    OPC 2.4.6
    Square WebPay 1.2.0

    I get this warning when voiding a transaction

    Code:
    [20-Mar-2024 14:29:00 Europe/London] Request URI: /MY_ADMIN/index.php?cmd=orders&page=1&oID=1391&action=doVoid, IP address: xx.xx.xx.xx, Language id 1
    #0 /home/MY_DOMAIN/public_html/includes/modules/payment/paypal/PayPalRestful/Admin/DoVoid.php(92): zen_debug_error_handler()
    #1 /home/MY_DOMAIN/public_html/includes/modules/payment/paypalr.php(1912): PayPalRestful\Admin\DoVoid->__construct()
    #2 /home/MY_DOMAIN/public_html/MY_ADMIN/orders.php(405): paypalr->_doVoid()
    #3 /home/MY_DOMAIN/public_html/MY_ADMIN/index.php(11): require('...')
    --> PHP Warning: Undefined variable $last_auth_txn in /home/MY_DOMAIN/public_html/includes/modules/payment/paypal/PayPalRestful/Admin/DoVoid.php on line 92.
    
    [20-Mar-2024 14:29:00 Europe/London] Request URI: /MY_ADMIN/index.php?cmd=orders&page=1&oID=1391&action=doVoid, IP address: xx.xx.xx.xx, Language id 1
    #0 /home/MY_DOMAIN/public_html/includes/modules/payment/paypal/PayPalRestful/Admin/DoVoid.php(92): zen_debug_error_handler()
    #1 /home/MY_DOMAIN/public_html/includes/modules/payment/paypalr.php(1912): PayPalRestful\Admin\DoVoid->__construct()
    #2 /home/MY_DOMAIN/public_html/MY_ADMIN/orders.php(405): paypalr->_doVoid()
    #3 /home/MY_DOMAIN/public_html/MY_ADMIN/index.php(11): require('...')
    --> PHP Warning: Trying to access array offset on value of type null in /home/MY_DOMAIN/public_html/includes/modules/payment/paypal/PayPalRestful/Admin/DoVoid.php on line 92.
    and because of this (I assume) the Trans ID is blank in the admin orders 'voided' comments block

    ----------------------------
    VOIDED. Trans ID: [blank]
    Transaction voided.
    ----------------------------
    Simon

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 122
    Last Post: 26 Apr 2024, 05:15 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