=== WooCommerce PayTrace Gateway ===

This plugin allows you to use PayTrace payment gateway within your WooCommerce store.

== Description ==

The WooCommerce PayTrace Gateway extension enables you to accept credit card payments straight from your checkout page.

This plugin was created by: VanboDevelops | Ivan Andreev

== Installation ==

1. Upload the 'woocommerce-gateway-paytrace' folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to `WooCommerce > Settings > Payment Gateways` to configure the PayTrace gateway settings.


Steps to configure your PayTrace Gateway installation.
        1. Login to your WooCommerce store and navigate to 'WooCommerce > Settings > Payment Gateways > PayTrace'.
        2. Enable PayTrace.
        3. Set your "Method Title" and "Description", these options will show on the checkout page.
        4. Enter your "PayTrace User Name". The user name is provided by PayTrace and used for API authentication.
        5. Enter you "PayTrace Password". The user name is provided by PayTrace and used for API authentication.
        6. Pick the credit cards you want to accept payments from.
        7. Choose the "Transaction Type". "Sale" to automatically settle the payment and "Authorization" to manually settle the payment.
        8. Choose if you want to accept eCheck/Ach payments and choose to place the processed eCheck payments in "On-Hold" or "Processing" status.
        9. Choose if you want to save your customers to PayTrace secure servers.
        10. Fill in a message to prompt your customers to save their payment info and create profile.
        11. If your server needs a Proxy to make an SSL connection, then enter your "PayTrace HTTPS Proxy Server" in the field.
        12. Pick if you want to enable "Debug Log".
        13. Set a test or live mode.
        14. Save Changes.

== Options ==

Enable PayTrace:
        This option enables the gateway.

Enable Test Mode:
        Enable test mode. This option adds a test parameter to the payment request.
        It is not required to be enabled in order to make a test payment. If you use a test user name and password, provided by PayTrace, then you will be able to make test payments, even if test mode is enabled.
        When in test mode, a test payment will not return AVS and CSC match responses.
        Test mode needs to be disabled in order to make a live payment.

Method Title: 
	The title of the gateway displayed on the checkout page.

Description: 
	The description displayed on the checkout page.

PayTrace User Name:
	This is your PayTrace user name. It is used for authentication to the PayTrace API system. 

PayTrace Password:
	This is the password provided by PayTrace for authentication to the PayTrace API system.
        Do not share the password because you will be compromising the security of your customers payment information. 

Accepted Cards:
	This option shows all the credit cards PayTrace can process at the moment. You can choose which ones you want to enable and accept payments from.
				   
Transaction Type:
	The transaction type is the type of transaction you wish to process. 
        'Sale' would mean that the transaction is authorized and settled automatically.
        'Authorization' would authorize the payment, but you will need to settle each payment manually from your PayTrace account.
							 
eCheck Payment:
        Enables eCheck payments. Your customers will be able to use a check to pay you.

Mark Orders Paid by eCheck as On-Hold:
        If enabled, it will mark the orders paid by eCheck as 'On-Hold' (Recommended: because the echeck payments may be accepted, but still not processed), otherwise those orders will be marked as 'Processing'.

Save Customers:
        Check if you want to save the customers payment info on PayTrace secure servers. This option will allow the customers to save their info and use it in future payments without entering their information again.
        Only the last 4 digits of the Credit Card, expiration date and their generated customer ID will be saved in the WooCommerce database.
        Customer will be able to manage their saved information from their 'My Account' Page.

Save Your Card Text:
        Enter the text to prompt your customers to save their credit card info for easier future payments.
        The textarea accepts any kind of html attributes.

PayTrace HTTPS Proxy Server:
	If you web host requires a proxy server for a SSL connection, enter here the proxy server and port.
        Leave empty, if you don't require a proxy server.
				
Debug Log: 
	Enable debug mode. Debug mode will provide you with the information generated during the payment, including request and response parameters and errors.
        Credit card information will not be collected by the debug log.
        This option is recommended for for test mode and testing of any possible issues.
        Logs are inside woocommerce/logs/paytrace.txt



== Notes ==
It is mandatory to have SSL enabled before you start taking live payments.
A valid SSL certificate will protect your customers sensitive information and give them confidence to buy from you.
