PayPal RESTful

Description
This Zen Cart payment module combines the processing for the PayPal Payments Pro (paypaldp) and PayPal Express Checkout (paypalwpp) payment modules that are currently built into the Zen Cart distribution. 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.

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
a. Using OPC's guest-checkout feature.
b. Both requiring confirmation and not!
4. With both the built-in responsive_classic and ZCA Bootstrap (v3.6.2) templates.
+ Download Latest

Forum Support Thread

Submit An Updated Version


Github Repository
Zen Cart® Versions v1.5.8, v2.0.0, v2.1.0
Original Author lat9
Last Updated by lat9 - 8 Mar 2025
Downloads 513

Version History

PayPal RESTful   -   Version: v1.1.0
This release contains changes associated with the following GitHub issues:

#24: Display card payments' AVS/CVV status in the admin.
#48: Correct function signature.
#25: Add `Auth Only (Card Only)` transaction type.
#49: Add setting to enable `SCA_ALWAYS` on card payments and capture 3DS status from PayPal.
  + Download
Zen Cart® Versions v1.5.8, v2.0.0, v2.1.0
Date Added 8 Mar 2025
Author lat9
File Size 123.4 KB
Encapsulated? No
Downloads 59
 
PayPal RESTful   -   Version: v1.0.5
This release contains changes associated with the following GitHub issues:

#40: Send current billing address for PayPal Wallet payments.
#41: Correct alternate payment-module pre-selected on checkout_payment page
#42: Don't send payment request to PayPal if there are existing payment-related messages to be displayed.
#43: Use language-constants for additional status-history record's information.
#44: Remove intervening spaces from addresses' postal_codes.
#46: Correct MySQL error when checking out with a checkbox-type attributed product.
  + Download
Zen Cart® Versions v1.5.8, v2.0.0, v2.1.0
Date Added 2 Jan 2025
Author lat9
File Size 121.0 KB
Encapsulated? No
Downloads 75
 
PayPal RESTful   -   Version: v1.0.4
This release contains changes associated with these GitHub issues and replaces v1.0.3:

#26: Correct undefined method sendAlertMessage; should be sendAlertEmail.
#27: ipn_main_handler call-back results in paypalr's auto-disable kicking in
#28: Ensure that the GUID is unique, preventing 'ORDER_ALREADY_AUTHORIZED' errors.
#29: MISSING_REQUIRED_PARAMETER returned when customer's first/last contains multi-byte characters
#32: Use 'fit-content' for credit-card selection's icon-list.
#34: Correcting admin logs when no record exists in the paypal table for the selected order.
#35: Use $template class to locate .css overrides instead of direct-directory checks.
#36: Payment-module constructor was running storefront-only code in admin, resulting in unwanted logs.
#37: Restore use of Logger::logJSON sanitization.
  + Download
Zen Cart® Versions v1.5.8, v2.0.0, v2.1.0
Date Added 19 Aug 2024
Author lat9
File Size 120.4 KB
Encapsulated? No
Downloads 103
 
PayPal RESTful   -   Version: v1.0.2
This release contains changes associated with the following GitHub issues:

#13: Full cost breakdown not submitted to PayPal when the order has discounts
#14: Level-3 Data's ships_from_postal_code "doesn't like" intervening blanks
#15: Correct PHP Warning when voiding a transaction.
#16: Show spinner on transition from the webhook to the target page.
#17: "Identify" as a payment module that collects card-data on-site.
#18: Correctly identify 3DS declined transactions; orders were invalidly being created.
#19: Set an error message in the API class when an interface error is detected.
#20: Correct addresses in the "Channel Islands" (and others) being disallowed.
#21: Correct method-/constant-names when a card-declined reason-code isn't recognized.
#22: Adding more "recognized" card-declined reason-codes.
  + Download
Zen Cart® Versions v1.5.8, v2.0.0
Date Added 28 Apr 2024
Author lat9
File Size 119.4 KB
Encapsulated? No
Downloads 87
 
PayPal RESTful   -   Version: v1.0.1
This release corrects GitHub issue #12 (PHP Parse error occurs when doing transaction void).   + Download
Zen Cart® Versions v1.5.8, v2.0.0
Date Added 13 Feb 2024
Author lat9
File Size 117.1 KB
Encapsulated? No
Downloads 76
 
PayPal RESTful   -   Version: v1.0.0
Now production ready!

Changes since v1.0.0-beta5: https://github.com/lat9/paypalr/compare/v1.0.0-beta5...v1.0.0
  + Download
Zen Cart® Versions v1.5.8, v2.0.0
Date Added 6 Feb 2024
Author lat9
File Size 117.0 KB
Encapsulated? No
Downloads 38
 
PayPal RESTful   -   Version: v1.0.0-beta5
What's Changed

UI Improvements by @lat9 in #3

Full Changelog: https://github.com/lat9/paypalr/compare/v1.0.0-beta4...v1.0.0-beta5
  + Download
Zen Cart® Versions v1.5.8
Date Added 22 Jan 2024
Author lat9
File Size 117.1 KB
Encapsulated? No
Downloads 36
 
PayPal RESTful   -   Version: 1.0.0-beta4
Initial BETA release for zc158a and zc200. Please don't use on a live site!   + Download
Zen Cart® Versions v1.5.8
Date Added 12 Jan 2024
Author lat9
File Size 119.0 KB
Encapsulated? No
Downloads 39
 


disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR