Integration Module 2.0 for Medusa is outRead the announcement
PayPal logo

PayPal

Use PayPal as payment provider

npm install @rsc-labs/medusa-paypal-payment
Category
Built by
Service
Version
0.0.2
Last updated
1 year ago
Monthly downloads
Loading downloads

Medusa Paypal Payment

What is it?

Medusa Paypal Payment is a basic integration of payment provider for Paypal.

Installation

  1. Install plugin by adding to your :

Warning

and execute install, e.g. .

  1. Add plugin to your (Note - please notice that you need to add it to payment plugin):

Overview

The Paypal Provider gives ability to:

  • make a payment using Paypal
  • cancel payment
  • refund payment
  • track payments in Paypal

Configuration

Plugin uses 3 required parameters:

  • - required parameter which you can find in your Paypal Developer Dashboard
  • - required parameter which you can find in your Paypal Developer Dashboard
  • - set to or . You can use it to test with your environment.

After above configuration, you can then add the payment provider to your reqion.

Storefront

We recommend using package on your storefront as it simplifies the implementation a lot. Here is the example of using Paypal as payment:

- you can retrieve it from your Paypal Developer Dashboard.

Notes

  1. Intent has been chosen to in - it means that firstly payment is authorized, then it can be capture via Admin UI. Plugin (not yet) support automatic capturing.
  2. requires to be a parent. It is not problem when making a payment, but when you would like to redirect the user you need be careful. The best option is to put as high as possible in components' tree.
  3. - is created by the plugin and put it in the . However, there are more information put in by the plugin, so you can log them into console and see how you can use it in your storefront.

License

MIT


© 2025 RSC https://rsoftcon.com/