=== Paynote for WooCommerce – Simplify Plaid-Verified ACH Payments ===
Plugin Name: Paynote
Description: Try Paynote, the easiest way to send and receive bank transfers from clients or vendors. Instant bank verification. Get started today.
Author: SeamlessChex
Contributors: seamlesschex
Tags: ACH, payment, pay, woocommerce payment, paynote
Version: 1.2.0
Tested up to: 6.7
Requires at least: 4.0.3
Stable tag: 1.2.0
Requires PHP: 5.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Try Paynote, the easiest way to send and receive bank transfers from clients or vendors. Instant bank verification. Get started today.

== Description ==

Enhance your WooCommerce store with **Paynote** – the ultimate plugin for secure and streamlined Plaid-Verified ACH payments.

Paynote integrates seamlessly with WooCommerce and leverages Plaid’s user-friendly bank verification, enabling customers to pay easily using their online banking credentials.

= Key Features =

* <strong>Secure ACH Payments</strong>: Accept U.S. bank payments with Plaid’s robust verification, ensuring every transaction is safe and secure.
* <strong>Plaid Integration</strong>: Built-in Plaid support adds an extra layer of security and trust by verifying customers’ bank accounts.
* <strong>Streamlined Checkout</strong>: Simplify the checkout process and reduce cart abandonment. Customers log in to their bank accounts seamlessly through Plaid’s secure interface.
* <strong>Automated Payment Management</strong>: Automate payment processing and subscription management, eliminating manual tracking.
* <strong>Recurring Payments & Subscriptions</strong>: Set up recurring payments to ensure steady, predictable revenue.
* <strong>Authorization-Only Capture</strong>: Need to charge customers later? Capture their bank details at checkout for future payments – ideal for free trials or deferred billing.
* <strong>Quick Refunds</strong>: Effortlessly process refunds to maintain customer satisfaction.

With Paynote, you can improve user experience, boost checkout conversions, and streamline payment management. Start simplifying ACH payments today!

= Setup Instructions =

Setting up the Paynote plugin is quick and easy:

<ol>
	<li><strong>Create a Paynote Account:</strong><br />Don’t have an <a href = "https://paynote.seamlesschex.com/#/login" target="_blank">account</a>? Sign up <a href = "https://www.seamlesschex.com/sign-up-paynote" target="_blank">here</a>. It’s free, fast, and no credit card is required.</li>

	<li><strong>Install the Plugin</strong><br />
	To install the Paynote plugin on your WooCommerce site:<br />

	<ul>
		<li>Go to your WooCommerce <strong>Dashboard</strong>.</li>
		<li>Navigate to <strong>Plugins > Add New</strong>.</li>
		<li>Click the <strong>Upload Plugin</strong> button at the top.</li>
		<li>Upload the downloaded Paynote plugin file (.zip).</li>
		<li>Click <strong>Install Now</strong> and then <strong>Activate</strong> once the installation is complete.</li>
	</ul>
	</li>

	<li><strong>Configure the Plugin</strong><br />

	<ul>
		<li>After activation, navigate to the Paynote plugin settings within your administrative panel.</li>
		<li>Enter your Paynote account details, including API keys, which you can find in your Paynote account under settings in the <a href = "https://paynote.seamlesschex.com/#/account/api" target="_blank">API tab</a>. Make sure you are <strong>using the correct API keys</strong> and have selected the appropriate mode (<strong>Sandbox</strong> or <strong>Live</strong>).
		</li>
		<li>Configure the plugin settings according to your preferences, such as <a href = "https://paynote.seamlesschex.com/#/account" target="_blank">webhook URL</a>, payment method name, payment frequency, capture auth and payment method description.</li>
	    <li>For Webhook option (<strong>easy integration</strong>), in Update Order Statuses, select Weebhook and then go to your <a href = "https://paynote.seamlesschex.com/#/account" target="_blank">Account Settings</a> in Paynote dashboard -> <a href = "https://paynote.seamlesschex.com/#/account/api" target="_blank">API tab</a> -> Paste in the 'Webhook URL' field and click 'save'.</li>
	    <li>You can also turn auto-updates off and do it manually by clicking 'Update Paynote Status' within the WooCommerce 'Orders' page.</li>
	    <li><strong>Default Order Pending Status:</strong><br />
	    	<strong>ACH In-Process:</strong><br />
	    	-This is a custom Paynote status. When a payment is completed by the customer, it will be set to "ACH In-Process." After processing, it will change to either "Failed" or "Paid."<br />
	    	<strong>On-Hold:</strong><br />
	    	-By default, WooCommerce sets all payments to "On-Hold" after initiation. From this status, payments will move to either "Failed" or "Paid."
	    </li>
	</ul>
	</li>
	<li><strong>Secret Key</strong><br />

	<ul>
		<li><strong>Sandbox Mode:</strong><br />
		 - Starts with the prefix <strong>sk_test_</strong>.<br />
		 - Used for testing the API in a sandbox environment.<br />
		 - Allows performing test transactions, creating test data, and simulating various scenarios.<br />
		 - Must be stored securely as it provides access to the API, but only in a test environment.
		</li>
		<li><strong>Live Mode:</strong><br />
		 - Starts with the prefix <strong>sk_</strong>.<br />
		 - Used for performing real operations in a production environment.<br />
		 - Provides full access to the API for working with real data and transactions.<br />
		 - Must be handled with extreme caution, as its compromise can lead to data leaks or financial losses.
		</li>
		<li><strong>Key Differences:</strong><br />
			<ol>
			  <li><strong>Prefixes:</strong><br />
			  	- Sandbox: <strong>sk_test_</strong> (secret).<br />
			  	- Live: <strong>sk_</strong> (secret).
			  </li>
			  <li><strong>Purpose:</strong><br />
			  	- Sandbox keys are used for testing and development.<br />
			  	- Live keys are used for real operations.
			  </li>
			  <li><strong>Security:</strong><br />
			  	- Sandbox keys are used for testing and development.<br />
			  	- Sandbox keys are less critical as they only work with test data.
			  </li>
			  <li><strong>Access:</strong><br />
			  	- Secret keys must only be used on the server side and should never be exposed to the client.
			  </li>
			</ol>
		 
		</li>
	</ul>
	</li>

	<li><strong>Whitelist Payote IPs and Domains with your security solutions</strong><br />
	<ul>
		<li>Paynote Domains: <a href = "https://api-paynote.seamlesschex.com/" target="_blank">https://api-paynote.seamlesschex.com/</a> and <a href = "https://paynote-wapi.seamlesschex.com/" target="_blank">https://paynote-wapi.seamlesschex.com/</a></li>
	    <li>Paynote IPs: 54.91.177.147, 35.168.136.199, 52.86.225.5, 52.54.42.180</li>
	</ul>
	</li>

	<li><strong>Enable Paynote as a Payment Method</strong><br />
	<ul>
		<li>Go to <strong>WooCommerce > Settings > Payments</strong>.</li>
	    <li>Enable <strong>Paynote</strong> as a payment method.</li>
	</ul>
	</li>

	<li><strong>Test the Installation</strong><br />
	<ul>
		<li>Create a test transaction via <strong>Sandbox (test)</strong> to ensure the plugin is working correctly.</li>
	    <li>Check if the transaction appears in your Paynote dashboard and that all notifications are working as expected.</li>
	</ul>
	</li>

	<li><strong>Go Live</strong><br />
	<ul>
		<li>Once you've confirmed everything is working correctly with the test transaction, you can start using Paynote for live transactions.</li>
	</ul>
	</li>
</ol>

That’s it! Paynote will now appear as a payment option at checkout.

Your WooCommerce store is now ready to accept Paynote ACH payments! All transactions and received payments can be viewed in your <a href = "https://paynote.seamlesschex.com/#/login" target="_blank">Paynote Dashboard</a>.

= External Services =

The Paynote plugin integrates with **Plaid**, a trusted leader in bank verification services and a long-standing partner of Paynote.

**How It Works**:

* During checkout, customers interact with a secure Plaid iframe to log into their bank account, select their preferred account, and authorize the payment.
* Plaid handles all bank account verification and authentication. Paynote **does not store any bank account details**.

For more information, please review <a href = "https://plaid.com/legal/#end-user-services-agreement-us" target="_blank">Plaid’s End User Services Agreement</a> and <a href = "https://plaid.com/legal/#end-user-privacy-policy" target="_blank">Privacy Policy</a>.

**Enhance your payment suite today with Paynote and experience the simplicity of Plaid-verified ACH payments.**


== Installation ==

###<strong>Paynote Plugin Installation Guide</strong>:

**Prerequisites**

* A **Paynote** <a href = "https://paynote.seamlesschex.com/#/login" target="_blank">account</a> is required. Create an account <a href = "https://www.seamlesschex.com/sign-up-paynote" target="_blank">here</a> if you don’t have one.
* Ensure your WordPress version is **4.7 or newer** and updated to the latest version for full compatibility.

**Installation Options**

**Option 1: Install Directly from WordPress**

<ol>
	<li>Go to your <strong>WordPress Admin Dashboard</strong>.</li>
	<li>Navigate to <strong>Plugins > Add New</strong>.</li>
	<li>In the search bar, type <strong>"Paynote"</strong>.</li>
	<li>Locate the Paynote plugin in the search results.</li>
	<li>Click <strong>Install Now</strong>, and once installed, click <strong>Activate</strong>.</li>
</ol>

**Option 2: Upload the Plugin Manually**

If you’ve already downloaded the plugin file:

<ol>
	<li>Go to your <strong>WordPress Admin Dashboard</strong>.</li>
	<li>Navigate to <strong>Plugins > Add New</strong>.</li>
	<li>Click the Upload Plugin button.</li>
	<li>Click <strong>Choose File</strong> and upload the downloaded Paynote.zip file</li>
	<li>Click <strong>Install Now</strong>, and once the installation finishes, click <strong>Activate</strong>.</li>
</ol>

**Verification and Compatibility**

* Ensure your WordPress version is compatible (4.7 or higher).
* If you encounter any issues, verify your WordPress version and update as needed.

**Next Steps**

Once installed and activated, you can proceed to configure the Paynote plugin for your site.

By following these steps, you’ll seamlessly install and enable the Paynote plugin on your WordPress platform.


== Frequently Asked Questions ==

= Do I need a US bank account? =

Yes, a US business checking account is required for all Paynote accounts.

= What documents are required? =

EIN Letter, Drivers License, Last month’s bank statement, Voided Check.

= When will I get my funds? =

This is dependent on the <a href = "https://docs.paynote.io/docs/ach-processing-times" target="_blank">funding speed</a> enabled on your merchant account. With same-day ACH, you'll receive funds within 2 business days, and with standard ACH you'll receive funds within 4 business days.

= How can I process a refund? =

You can initiate a refund once the transaction is paid.
You can cancel a transaction as long as the payment has not yet been exported. The timing of when the payment is exported depends on the funding speed selected (standard or same-day). You can check the *Exported By* timelines <a href = "https://docs.paynote.io/docs/ach-processing-times" target="_blank">here</a>.

= How can I cancel a transaction? =

You can cancel a transaction as long as the payment has not yet been exported. The timing of when the payment is exported depends on the transaction type (debit/credit) and the funding speed selected (standard or same-day). You can check the *Exported By* timelines <a href = "https://docs.paynote.io/docs/ach-processing-times" target="_blank">here</a>. RTP credits cannot be cancelled.

== Screenshots ==

1. Installed Paynote plugin
2. General settings
3. Activate additional payment methods with just a few clicks
4. New payment method on the checkout page
5. Paynote API Secret Keys

== Changelog ==

= 1.0.0 =

*   Initial stable release.

= 1.1.0 =

*   Added compatibility with **WooCommerce Blocks Checkout** for a seamless checkout experience.

= 1.1.1 =

*   Minor fixes and performance improvements.

= 1.1.2 =

*   Minor fixes and performance improvements.

= 1.1.3 =

*   Implementation of new Plaid functionality.

= 1.1.4 =

*   Added three new statuses: ACH Processing, ACH Declined, ACH On-Hold.
*   Updated plugin description.
*   Revised documentation based on recent changes.

= 1.1.5 =

*   Minor fixes in JavaScript and performance improvements.

= 1.1.6 =

*   Minor fixes in JavaScript for IOS.

= 1.1.7 =

*   Integrated email status notifications.
*   Updated documentation and instructions.
*   Fixed minor issues.
*   Improved error response handling.

= 1.1.8 =

*   Minor fixes and performance improvements.

= 1.1.9 =

*   Added support for payment via WooCommerce payment link.

= 1.2.0 =

*   Improved Webhook Management: The plugin now automatically checks whether the webhook is configured correctly and offers a one-click option to set or update it, eliminating the need for manual copying and setup.
