Download the PHP package mohan-devstack/magento2-paypal-rest-checkout without Composer

On this page you can find all versions of the php package mohan-devstack/magento2-paypal-rest-checkout. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento2-paypal-rest-checkout

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

Requirements

Installation

Via Composer (recommended)

Manual

  1. Copy the module to app/code/Mohan/PaypalRest/
  2. Run:

Configuration

Stores > Configuration > Mohan > PayPal REST Checkout

Field Description
Enabled Enable/disable the payment method
Payment Title Label shown at checkout (default: "PayPal")
Sort Order Position in the payment method list
Payment from Applicable Countries Restrict to specific countries
Use Sandbox Enable for testing; disable for production
Client ID From developer.paypal.com REST app
Client Secret From developer.paypal.com REST app

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

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

Support

License

OSL-3.0


All versions of magento2-paypal-rest-checkout with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
magento/framework Version ^103.0
magento/module-checkout Version ^100.4
magento/module-payment Version ^100.4
magento/module-sales Version ^103.0
magento/module-store Version ^101.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mohan-devstack/magento2-paypal-rest-checkout contains the following files

Loading the files please wait ...