it's working for we. It wasn't at first. But I am not sure what I did to make it work. I will look into it and update this thread.
Added after 1 hours 24 minutes: Here is part of my configuration file. I have replace some info with generic data but you have to set every one of these variable to a value that matches your reality.
In my case, if my domain is
http://yourdomain.com
Then the path to a2customer is
http://yourdomain.com/a2customer_path/
We have SSL on the domain, and we activate it only in the client area and the contact forms. So the address
http://yourdomain.com/a2customer_path/ will always be forced to activate SSL and will become
https://yourdomain.com/a2customer_path/
We didn't change anything in our Paypal account setting on paypal.com
It's important to set the paths to a2customer correctly otherwise, some important codes will not be accessible when the time will come to run them automatically and update the customer's balance.
Code:
[epayment_method]
enable = yes
; eg, http://localhost - should not be empty for productive servers
http_server = "http://yourdomain.com"
; eg, https://localhost - Enter here your Secure Server Address, should not be empty for productive servers
;Note from Abdoulaye. If you do not have a secure server, enter http://yourdomain.com
https_server = "https://yourdomain.com"
; Enter your Domain Name or IP Address, eg, 26.63.165.200
http_cookie_domain = yourdomain.com
; Enter your Secure server Domain Name or IP Address, eg, 26.63.165.200
https_cookie_domain = yourdomain.com
; Enter the Physical path of your Application on your server (The live path. Not the absolute path)
http_cookie_path = "/a2customer_path/"
; Enter the Physical path of your Application on your Secure Server (The live path. Not the absolute path)
https_cookie_path = "/a2customer_path/"
; Enter the Physical path of your Application on your server (The live path. Not the absolute path)
dir_ws_http_catalog = "/a2customer_path/"
; Enter the Physical path of your Application on your Secure Server (The live path. Not the absolute path)
dir_ws_https_catalog = "/a2customer_path/"
; secure webserver for checkout procedure?
;Note from Abdoulaye. If you do not have a secure server, set this to no.
enable_ssl = yes
http_domain = yourdomain.com
; Absolute path to the Application on your server
dir_ws_http = "/home/some_folder/public_html/a2customer_path/"
; maybe try with :
; Define here the URL to notify the payment
; payment_notify_url=...
;define the different amount of purchase that would be available - 5 amount maximum (5:10:15)
purchase_amount = 5:10:20:50:100
; Item name that would be display to the user when he will buy credit
item_name = "Credit Purchase"
; Currency for the Credit purchase, only one can be define here
currency_code = USD
; Define here the URL of paypal gateway the payment (to test with paypal sandbox)
paypal_payment_url = "https://secure.paypal.com/cgi-bin/webscr"
;paypal_payment_url = "https://www.sandbox.paypal.com/cgi-bin/webscr"
;paypal transaction verification url
paypal_verify_url = www.paypal.com
;paypal_verify_url = www.sandbox.paypal.com
;paypal store name to show in the paypal site when customer will go to pay
store_name = My Store Name
Good luck