Widget | Mechanism | Support |
PayPalGatewayWeb | Webview | ios, 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:
- Go to WordPress Admin > Plugins > Add New from the left-hand menu
- In the search box type WooCommerce PayPal Payments
- Click on Install now when you see WooCommerce PayPal Payments to install the plugin
- Config plugin according instructions
- Go to Woocommerce -> Setting -> Tab Payments: enable only PayPal
Plugin guide: https://wordpress.org/plugins/wp-paypal/#installation
Mobile app:
- Copy paypal_gateway package and add to packages folder in cirilla project.
- Import package in
cirilla/pubspec.yaml
Example:
paypal_gateway:
path: ./packages/paypal_gateway
Then run flutter pub get in your project
- 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/