1. Home
  2. Docs
  3. Cirilla Payment Gateway Addons
  4. Payment Gateways
  5. paypal

paypal

WidgetMechanismSupport
PayPalGatewayWebWebviewios, android, web

Getting started

 – Create an PayPal account to use PayPal’s services: https://developer.paypal.com/tools/sandbox/

Usage

 Follow this steps:

Woocommerce website:

Add PayPal plugin to your Woocommerce:

  1. Go to WordPress Admin > Plugins > Add New from the left-hand menu
  2. In the search box type WooCommerce PayPal Payments
  3. Click on Install now when you see WooCommerce PayPal Payments to install the plugin
  4. Config plugin according instructions
  5. Go to Woocommerce -> Setting -> Tab Payments: enable only PayPal

Plugin guide: https://wordpress.org/plugins/wp-paypal/#installation

 Mobile app:

  1. Copy paypal_gateway package and add to packages folder in cirilla project.
  2. Import package in cirilla/pubspec.yaml

Example: 

paypal_gateway:
  path: ./packages/paypal_gateway

Then run flutter pub get in your project

  1. Add PayPalGatewayWeb(web view) to cirilla/lib/payment_method.dart file (remember import package like example)

Example:

import 'package:paypal_gateway/paypal_gateway_web.dart';

final Map<String, PaymentBase> methods = {
 PayPalGatewayWeb.key: PayPalGatewayWeb(),
};

Available Currencies

https://developer.paypal.com/docs/reports/reference/paypal-supported-currencies/

Was this article helpful to you? Yes No

How can we help?