PHPackages                             mohan-devstack/magento2-paypal-rest-checkout - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. mohan-devstack/magento2-paypal-rest-checkout

ActiveMagento2-module[Payment Processing](/categories/payments)

mohan-devstack/magento2-paypal-rest-checkout
============================================

Standalone PayPal REST Orders v2 payment integration for Magento 2. No Magento\_Paypal or SOAP/NVP dependency. Server-side redirect checkout with capture, refund, and admin transaction support.

1.0.0(1mo ago)021OSL-3.0PHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0

Since Jul 14Pushed 1mo agoCompare

[ Source](https://github.com/mohan-devstack/magento2-paypal-rest-checkout)[ Packagist](https://packagist.org/packages/mohan-devstack/magento2-paypal-rest-checkout)[ RSS](/packages/mohan-devstack-magento2-paypal-rest-checkout/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

PayPal REST Checkout for Magento 2
==================================

[](#paypal-rest-checkout-for-magento-2)

A standalone PayPal REST Orders v2 payment module for Magento 2. Uses only the modern REST API — no dependency on `Magento_Paypal`, SOAP, or the deprecated NVP/SOAP stack that PayPal is retiring.

Features
--------

[](#features)

- PayPal REST Orders v2 API (`/v2/checkout/orders`)
- Server-side redirect checkout flow — no JS SDK required
- Automatic invoice generation on successful capture
- Online refunds (full and partial) via credit memo
- Admin transaction detail page with PayPal capture information
- Sandbox / Live toggle in admin config
- No `Magento_Paypal` dependency

Requirements
------------

[](#requirements)

- Magento 2.4.4 or later
- PHP 8.1 or later
- PayPal REST API credentials (Client ID + Secret from [developer.paypal.com](https://developer.paypal.com))

Installation
------------

[](#installation)

### Via Composer (recommended)

[](#via-composer-recommended)

```
composer require mohan/magento2-paypal-rest-checkout
php bin/magento module:enable Mohan_PaypalRest
php bin/magento setup:upgrade
php bin/magento cache:clean
```

### Manual

[](#manual)

1. Copy the module to `app/code/Mohan/PaypalRest/`
2. Run: ```
    php bin/magento module:enable Mohan_PaypalRest
    php bin/magento setup:upgrade
    php bin/magento cache:clean
    ```

Configuration
-------------

[](#configuration)

**Stores &gt; Configuration &gt; Mohan &gt; PayPal REST Checkout**

FieldDescriptionEnabledEnable/disable the payment methodPayment TitleLabel shown at checkout (default: "PayPal")Sort OrderPosition in the payment method listPayment from Applicable CountriesRestrict to specific countriesUse SandboxEnable for testing; disable for productionClient IDFrom developer.paypal.com REST appClient SecretFrom developer.paypal.com REST appCheckout Flow
-------------

[](#checkout-flow)

1. Customer selects PayPal at checkout and clicks **Place Order**
2. Magento creates the order in `pending_payment` state
3. Module creates a PayPal Orders v2 order and redirects the customer to PayPal
4. Customer approves on PayPal and is returned to the store
5. Module captures the payment, generates an invoice, and moves the order to `processing`
6. Order confirmation email is sent

Refunds
-------

[](#refunds)

Full and partial refunds are processed via **Sales &gt; Orders &gt; Credit Memo** in the Magento admin. The module calls `/v2/payments/captures/{id}/refund` on PayPal automatically.

Support
-------

[](#support)

- Email:

License
-------

[](#license)

[OSL-3.0](LICENSE.txt)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

48d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/631a068a01ba920c5b7f8e8e9b741f54538930c5e65495ad2974d55c628debdc?d=identicon)[mohan-devstack](/maintainers/mohan-devstack)

---

Top Contributors

[![mohan-devstack](https://avatars.githubusercontent.com/u/301720141?v=4)](https://github.com/mohan-devstack "mohan-devstack (4 commits)")

---

Tags

magentopaymentpaypalcheckoutmagento2paypal rest

### Embed Badge

![Health badge](/badges/mohan-devstack-magento2-paypal-rest-checkout/health.svg)

```
[![Health](https://phpackages.com/badges/mohan-devstack-magento2-paypal-rest-checkout/health.svg)](https://phpackages.com/packages/mohan-devstack-magento2-paypal-rest-checkout)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1162.0M19](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68365.7k](/packages/run-as-root-magento2-prometheus-exporter)[buckaroo/magento2

Buckaroo Magento 2 extension

32431.3k8](/packages/buckaroo-magento2)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50413.8k26](/packages/dotdigital-dotdigital-magento2-extension)[amzn/amazon-pay-magento-2-module

Official Magento2 Plugin to integrate with Amazon Pay

108551.2k1](/packages/amzn-amazon-pay-magento-2-module)[yireo/magento2-emailtester2

Preview transactional emails and test send them in your backend

34452.5k](/packages/yireo-magento2-emailtester2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
