Search by

fixstacks / module-zero-paypal

pasichnikroman

Zero for Magento Open Source: PayPal (Standard and Express) for Zero Checkout, without JavaScript on the shop's pages.

Package info

github.com/Fixstacks/module-zero-paypal

Homepage

Type:magento2-module

pkg:composer/fixstacks/module-zero-paypal

Statistics

Installs: 0

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-10-14 22:27 UTC

This package is not auto-updated.

Last update: 2026-10-15 00:39:23 UTC


README

PayPal for Zero Checkout, two methods. Both send the buyer to PayPal after the order is placed; neither needs JavaScript on the shop's pages.

Method Code Credentials How it confirms
PayPal Checkout zero_paypal_checkout REST app: client ID and secret Captured by the shop when the buyer comes back
PayPal (classic redirect) zero_paypal_standard Business account email only PayPal's IPN (Magento's paypal/ipn)

Install

Requires Magento Open Source 2.4.7–2.4.9 and PHP 8.2–8.4.

composer require fixstacks/module-zero-paypal
bin/magento setup:upgrade
bin/magento setup:di:compile           # production mode
bin/magento setup:static-content:deploy # production mode
bin/magento cache:flush

Composer installs fixstacks/module-zero-checkout with it.

Part of fixstacks/zero, which installs the Zero theme and every Zero module at once.

PayPal Checkout

PayPal's Orders API v2 over Magento's HTTP client, no SDK. On PayPal's page the buyer pays with the PayPal balance, a card, or Pay Later where PayPal offers it in the buyer's country.

  1. Placing the order creates a PayPal order (intent CAPTURE) for the grand total in the order's currency; the Magento order waits in pending payment and the buyer goes to PayPal's approval page.
  2. Back on the return URL (zero_paypal/checkout/return) the shop captures: COMPLETED for the order's amount and currency: paid (invoice, order email). A capture PayPal holds for review leaves the order pending with a comment. Declined: cancelled, the cart restored.
  3. Cancelled on PayPal (zero_paypal/checkout/cancel): the order is cancelled, the cart restored.

No money is taken without the capture, so a buyer who never comes back pays nothing; no webhook is needed. Refunds: credit memos refund the capture online.

Settings: Stores > Configuration > Sales > Payment Methods > PayPal Checkout (Zero): Enabled, Title, Client ID, Secret (encrypted; developer.paypal.com > Apps & Credentials), Sandbox (on by default).

PayPal (classic redirect)

See Model/Standard.php: the _xclick redirect with a business email, made paid by PayPal's IPN.

License

OSL-3.0 or AFL-3.0, your choice: see NOTICE.md.

Vilmate

Zero is made by Fixstacks in partnership with Vilmate, a software development company. Documentation: https://fixstacks.com/zero/docs. Demo store: https://zero.fixstacks.com.