=== minicomerce ===  
Tags: paypal, commerce, splide  
Requires at least: 5.0  
Tested up to: 6.8  
Stable tag: 1.0.1  
Requires PHP: 7.0  
Author URI: https://lavour.es  
Plugin URI: https://minicomerce.docuchat.es  
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

== Description ==

Imagine that you can sell your product in whatever part of the world with a simple plugin, easy to install and easy to follow by the customers.

== Frequently Asked Questions ==

= How can I do a test? =  
This plugin is ready for sandbox testing.

= How is the payment processed? =  
The payment is processed on the PayPal page. You never have contact with the buyers' credit card information.

= How do I set the shipping price? =  
You can specify in the product description that shipping is included or set it on the policy page.

= What do I need to start? =  
You need a ready PayPal account and get your key and secret to receive the payments.

= Does this plugin implement an external library? =  
Yes, we use Splide to create the slider; it is a fluid and free library.

= How is this tool maintained? =  
This tool is made out of my love for WordPress; unfortunately, it consumes resources that can be maintained with your donation.

== Installation ==

- Fill in all data in the settings where the most important are the PayPal ID and secret, set currency, and make sure sandbox or live mode is active.  
- If you have variations, remember that the price for the plugin does not differ for variations.  
- It is important, but not mandatory, to set a privacy page, and if you need to place more info, create a product page.  
- You can set the theme color of the plugin according to the theme of your webpage.  
- The most important thing is to remember that you can paste the [minicomerce] shortcode wherever you need to place the plugin.  
- If your language is not English, you can translate it in the translation section.  

### List of data needed to use

1. PayPal account.  
2. Generate PayPal credentials (key & secret).  
3. For testing, generate sandbox accounts.  

== Screenshots ==

0. Plugin Preview screenshot-0.png  
1. User Checkout screenshot-1.png  
1. Anti Bot submission quiz screenshot-2.png  
0. Easy Payment Retry (EPR) screenshot-3.png  
0. Workflow screenshot-4.png  

== External URL ==

* The payment process is handled externally; then we call the PayPal API to process the token and checkout process on /v2/ latest version.

**Token generation**  
+ https://api-m.paypal.com/v2/oauth2/token : implemented to generate a token from PayPal  
+ https://api-m.sandbox.paypal.com/v2/oauth2/token : implemented to generate a token from PayPal, sandbox mode  

**Checkout process**  
+ https://api.paypal.com/v2/checkout/orders/ : implemented to process the checkout  
+ https://api.sandbox.paypal.com/v2/checkout/orders/ : implemented to process the checkout, sandbox mode  

== These processes are handled on the backend keeping these processes secure with your data ==  
Disclaimer: (keep your site updated and secure)  
  
== Tech List ==

+ vanilla JS  
+ webpack  
+ SASS  
+ Splide  
+ PayPal  

== PayPal Policies ==

[PayPal Privacy Policy](https://www.paypal.com/us/legalhub/paypal/privacy-full)  
[PayPal User Agreement](https://www.paypal.com/us/legalhub/paypal/useragreement-full)  

== Plugin Page ==

[Plugin Page](https://minicomerce.docuchat.es)  

== Git Repository ==

[Repository](https://gitlab.com/realredy/minicomerce.git)  

== YouTube Video Installation Process ==

[Installation Video](https://www.youtube.com/watch?v=Gjx2xVgD5ZA)