# woocommerce-pay4fun

> Plugin for Wordpress/WooCommerce to add Pay4Fun Payment Method

![total-downloads]

**Pay4Fun** is an online payment platform that allows you to execute transactions in a practical and secure way.
 
We offer a last generation e-wallet where payments and fund transfers to licensed websites are realized in a simple way, without bureaucracy.
 
This is our mission: to facilitate the day-to-day of both consumers and merchants through a simple and intuitive platform, giving excellent service on all levels.
For more information, please visit: https://p4f.com

## HOW TO USE THIS PLUGIN:

* This plugin will add donations capabilities into your website, using a pay4fun account. You should be registered as a merchant in order to use this plugin.
* If you are using WooCommerce, it will add this payment option into your installation.
* Create your merchant account in [pay4fun website](https://p4f.com/#merchant "Pay4Fun Merchant") .
* Install this plugin and provide the credentials..

![screenshot-1]
![screenshot-2]
![screenshot-3]
![screenshot-4]
![screenshot-5]
![screenshot-6]
![screenshot-7]
![screenshot-8]
![screenshot-9]
![screenshot-10]
![screenshot-11]

## Installation

* Upload plugin files to your plugins folder, or install using WordPress built-in Add New Plugin installer;
* Activate the plugin;
* Navigate to Settings > Pay4Fun and fill your merchant id, key and secret.
* Navigate to WooCommerce -> Settings -> Payment Gateways, choose Pay4Fun


## Development setup

* Recommend using VSCode with PHP extensions (Intelephense, php-lint, etc). Add Wordpress to the list of Intelephense stubs.
* Use wordpress docker container for a quick dev environment.

## Release History

- 1.0.0
  - First Release

## Meta

Developed by Felipe Moreira [@chucky_ath](https://twitter.com/chucky_ath) - contato@felipematos.com for Pay4Fun Pagamentos S.A

[https://github.com/felipemm](https://github.com/felipemm/)

Distributed by Pay4Fun under the GPLv2 license. See `LICENSE` for more information.


## Contributing

If you have any questions or detected any bugs, please submit an issue.

Contribution is welcome. If you want to add new features:
1. Fork it (<https://github.com/Pay4Fun/woocommerce-pay4fun/fork>)
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request

<!-- Markdown link & img dfn's -->

[total-downloads]: https://img.shields.io/github/downloads/Pay4Fun/woocommerce-pay4fun/total
[screenshot-1]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-1.png
[screenshot-2]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-2.png
[screenshot-3]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-3.png
[screenshot-4]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-4.png
[screenshot-5]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-5.png
[screenshot-6]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-6.png
[screenshot-7]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-7.png
[screenshot-8]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-8.png
[screenshot-9]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-9.png
[screenshot-10]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-10.png
[screenshot-11]: https://github.com/Pay4Fun/woocommerce-pay4fun/raw/master/assets/screenshot-11.png


