Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Mar 19, 2024 11:15 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 51 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: Fri Feb 22, 2008 2:53 pm 
Offline
User avatar

Joined: Mon Sep 10, 2007 1:33 pm
Posts: 17
Location: Sarasota, FL
Here is the information

1. the complete content of the [epayment_method] section [/quote]

[epayment_method]

enable = yes

; eg, http://192.168.2.79 - should not be empty for productive servers

http_server = "http://71.98.245.198"

; eg, https://myIP - Enter here your Secure Server Address, should not be empty for productive servers

https_server = "http://71.98.245.198"

; Enter your Domain Name or IP Address, eg, 192.168.2.79

http_cookie_domain = "http://71.98.245.198"

; Enter your Secure server Domain Name or IP Address, eg, 26.63.165.200

https_cookie_domain = "http://71.98.245.198"

; Enter the Physical path of your Application on your server

http_cookie_path = "/a2billing/Customer/"

; Enter the Physical path of your Application on your Secure Server

https_cookie_path = "/a2billing/Customer/"

; Enter the Physical path of your Application on your server

dir_ws_http_catalog = "/a2billing/Customer/"

; Enter the Physical path of your Application on your Secure Server

dir_ws_https_catalog = "/a2billing/Customer/"

; secure webserver for checkout procedure?

enable_ssl = yes

http_domain = "http://71.98.245.198"

dir_ws_http = "/a2billing/Customer/"

; 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 = 1:2:5:10:20

; 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


; Define here the URL of Authorize gateway

;authorize_payment_url = "https://secure.authorize.net/gateway/transact.dll"

authorize_payment_url = "https://test.authorize.net/gateway/transact.dll"

;paypal store name to show in the paypal site when customer will go to pay

store_name = Store name

;Transaction Key for security of Epayment Max length of 60 Characters.

transaction_key = asdf1212fasd121554sd4f5s45sdf

2. the physical path to A2BCustomer installation (example: /home/psuarez/public_html/A2BCustomers/)

var/www/html/a2billing/Customer

3. The Web link to your A2BCustomer (example: http://your.domain.name/A2BCustomers or http://customers.yourdomain.com)

http://71.98.245.198/a2billing/Customer

4. do you have an SSL certificate installed? Yes or No?


yes i do


5. your domain name


my domain name is my ip (71.98.245.198)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 4:45 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Oui Monsieur.

Here is something that should word. The major changes that I have done were with dir_ws_http (the absolute server path) and paypal_payment_url (not the sandbox). You also would want to specify a Store Name that rocks instead of store_name = Store name and finally. Last but not least, and in fact quite important, we have seen your transaction_key, you have to change it to something else.

Good luck. Let us know about the result.

Code:
enable = yes

; eg, http://192.168.2.79 - should not be empty for productive servers

http_server = "http://71.98.245.198"

; eg, https://myIP - Enter here your Secure Server Address, should not be empty for productive servers

https_server = "https://71.98.245.198"

; Enter your Domain Name or IP Address, eg, 192.168.2.79

http_cookie_domain = "71.98.245.198"

; Enter your Secure server Domain Name or IP Address, eg, 26.63.165.200

https_cookie_domain = "71.98.245.198"

; Enter the Physical path of your Application on your server

http_cookie_path = "/a2billing/Customer/"

; Enter the Physical path of your Application on your Secure Server

https_cookie_path = "/a2billing/Customer/"

; Enter the Physical path of your Application on your server

dir_ws_http_catalog = "/a2billing/Customer/"

; Enter the Physical path of your Application on your Secure Server

dir_ws_https_catalog = "/a2billing/Customer/"

; secure webserver for checkout procedure?

enable_ssl = yes

http_domain = "71.98.245.198"

dir_ws_http = "/var/www/html/a2billing/Customer/"

; 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 = 1:2:5:10:20

; 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


; Define here the URL of Authorize gateway

;authorize_payment_url = "https://secure.authorize.net/gateway/transact.dll"

authorize_payment_url = "https://test.authorize.net/gateway/transact.dll"

;paypal store name to show in the paypal site when customer will go to pay

store_name = Store name

;Transaction Key for security of Epayment Max length of 60 Characters.

transaction_key = asdf1212fasd121554sd4f5s45sdf


Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 25, 2008 5:07 pm 
Offline
User avatar

Joined: Mon Sep 10, 2007 1:33 pm
Posts: 17
Location: Sarasota, FL
i have change my a2billing.conf accordingly to your suggestions and still have the same problem. payment is complete but balance is not updated

could this be a network problem? or a permission problem when trying to update cc_card?

It workd!!! i dont realy know what i did to make it work. i just restart the server and tetst paypal again

thank you very much to all for your help


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 8:20 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
In another thread psuarez posted a document making it clear his problem with Paypal was that he was using the sandbox.
If you want you customer balances to be updated after transactions, you must use the live Paypal URL; the sandbox will not credit accounts.


Top
 Profile  
 
 Post subject: Can't find the problem why not routed to Paypal
PostPosted: Tue Mar 25, 2008 2:04 pm 
Offline

Joined: Tue Mar 25, 2008 2:08 am
Posts: 7
When I try to deposit money into an account the following happens:

1. I was asked to confirm if I wanted to use the certificate.
2. Once I accepted the certificate, I got https://XXX.XXX.XXX.XXX/A2BCustomer_UI/ ... cessdenied

Can anyone help me to figure out what the problem is? Following is a paste from the a2billing.conf:

[epayment_method]
enable = yes
; eg, http://localhost - should not be empty for productive servers
http_server = "http://XXX.XXX.XXX.XXX"
; eg, https://localhost - Enter here your Secure Server Address, should not be empty for productive servers
https_server = "https://XXX.XXX.XXX.XXX"
; Enter your Domain Name or IP Address, eg, 26.63.165.200
http_cookie_domain = XXX.XXX.XXX.XXX
; Enter your Secure server Domain Name or IP Address, eg, 26.63.165.200
https_cookie_domain = XXX.XXX.XXX.XXX
; Enter the Physical path of your Application on your server
http_cookie_path = "/A2BCustomer_UI/"
; Enter the Physical path of your Application on your Secure Server
https_cookie_path = "/A2BCustomer_UI/"
; Enter the Physical path of your Application on your server
dir_ws_http_catalog = "/A2BCustomer_UI/"
; Enter the Physical path of your Application on your Secure Server
dir_ws_https_catalog = "/A2BCustomer_UI/"

; Enter the Physical path of your Application on your Secure Server
dir_ws_https_catalog = "/A2BCustomer_UI/"
; secure webserver for checkout procedure?
enable_ssl = YES

http_domain = XXX.XXX.XXX.XXX

dir_ws_http = "/var/www/html/A2BCustomer_UI"

; 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 = 1:5:10:20:50

; 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

; Define here the URL of Authorize gateway
;authorize_payment_url = "https://secure.authorize.net/gateway/transact.dll"
authorize_payment_url = "https://test.authorize.net/gateway/transact.dll"

;paypal store name to show in the paypal site when customer will go to pay
store_name = My Test Company

;Transaction Key for security of Epayment Max length of 60 Characters.
transaction_key = HIDDENTRANSACTIONKEY

Also, how ca I tell if I have an SSL certificate installed (I have OpenSSL), is that the same thing? Your help is appreciated.

Yousaf


Top
 Profile  
 
 Post subject: Re: Can't find the problem why not routed to Paypal
PostPosted: Tue Mar 25, 2008 2:23 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Have you verified the settings in Admin UI -> Billing -> View payment methods?
Quote:
Also, how ca I tell if I have an SSL certificate installed (I have OpenSSL), is that the same thing?
No, but it's a prerequisite. Security Focus have a good introduction to using SSL certificates with Apache. You might also consult your distro's documentation on this topic.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 25, 2008 3:32 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Make sure that you really do have SSL and a valid certificate because simply using https were you had http will not let you have a secure site if you do not have a real valid certificate.

Also, even if you settings are right, it is important that you know that if you have a basic paypal account, you will never be able to use it properly in A2Billing to receive payments. Instant Payment Notification (IPN) that allows A2Billnig to update a customer's account upon successful payment only works if you have a Paypal Business or Premier Account. We have tested and confirmed that. Your received payments will always need to be accepted manually on Paypal's Web site if you are a Basic Paypal Member.

Cheers

A$iby


Last edited by asiby on Mon Jun 09, 2008 6:22 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Fixed, but partially
PostPosted: Wed Mar 26, 2008 12:08 am 
Offline

Joined: Tue Mar 25, 2008 2:08 am
Posts: 7
So many questions, where to begin....

Quote:
Have you verified the settings in Admin UI -> Billing -> View payment methods?

Yes, Paypal is the only option.

Quote:
Also, even if you settings are right, it is important that you know that if you have a basic paypal account, you will never be able to use it properly in A2Billing to receive payments.


I have upgraded to a Merchant Account.

Now here comes the twist, which will show you how much of a goon I really am. :?

I have my a public IP which is forwarded internally through the router to my A2B machine. In the config I posted I have setup my public IP address, and it seems that when I use paypal from a machine outside my local network, the payment goes through (although still not sure if the account balance gets updated. Still need to test that out). But when I try from my internal network it does not work. Not quite sure how to diagnose this problem. I will test a few other things before posting for further help and see how the process works (if it does) :)

Thanks for all the help.

Yousaf


Top
 Profile  
 
 Post subject: It Works
PostPosted: Thu Mar 27, 2008 2:26 am 
Offline

Joined: Tue Mar 25, 2008 2:08 am
Posts: 7
Great it finally works as expected. :D

It seems he problem was that everything in the a2billing.conf was withthe public IP address and when trying to connect to it with a local NATed IP address it would not take.

BTW, I think its important to mention that I am using 1.3.2 and not the older version.

Thanks for all the support guys.

Yousaf


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 07, 2008 2:01 pm 
Offline

Joined: Tue Feb 12, 2008 11:34 am
Posts: 87
Location: Germany
Hi all,
Do we need to make some changes at the paypal account also or is it enough to have a merchant account and leave everything to default?

if everything has to be left default then where does this
"transaction_key" in a2billing.conf come from?

and how does paypal know where to redirect after the transaction is completed?

is it really not possible to have a complete transaction with account balance update with sandbox?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 08, 2008 8:11 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
Yes, Sandbox does update customer balances in the database.

Assuming your "profile" settings for IPN and Website Payment Preferences/Payment Data Transfer Notification are on in your business account at sandbox.paypal.com.

Then in your a2billing.conf (assuming everything else is correct):

paypal_payment_url = "https://www.sandbox.paypal.com/cgi-bin/webscr"
paypal_verify_url="ssl://www.sanbox.paypal.com"

Added after 6 minutes:

paypal_payment_url = "https://www.sandbox.paypal.com/cgi-bin/webscr"
paypal_verify_url="ssl://www.sandbox.paypal.com"


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 24, 2008 4:27 am 
Offline

Joined: Sat May 10, 2008 4:19 pm
Posts: 132
Location: Wilmington, DE
Ok good People,

I have followed every thread yet no update to the customer's account. Something is coming back from Paypay and I'm getting the following from my system:

Dear Administrator

Please check the Epayment Log. The system has logged an Epayment Security failure that may be a possible attack on epayment processing.

Time of Transaction: 08-06-24 00:12:22
Payment Gateway: paypal
Amount: 2USD


This is becoming an expensive testing process, not to mention the hours I'm spending behind this.

Could somebody tell me what I'm supposed to have configured on the PayPal site and why I may be calling the A2B "security patrol" after the transaction.

Thanks,

Robin A.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 24, 2008 6:02 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
It's been a long time since I last setup Paypal for a client, but I shall try to help.
RobinA wrote:
This is becoming an expensive testing process, not to mention the hours I'm spending behind this.
In the post prior to your own Vulcan suggests changing the URLs in a2billing.conf to use the sandbox. You can then test without incurring any charges, although earlier in the thread it was stated that when using the sandbox no money was deposited in the A2B user's account. You might want to use the sandbox until you get past this current hurdle.
Quote:
Could somebody tell me what I'm supposed to have configured on the PayPal site
Asiby's contribution, a few posts further up, tallies with my own recollections. I don't think it works with personal accounts.
Quote:
Please check the Epayment Log. The system has logged an Epayment Security failure that may be a possible attack on epayment processing.
I'm not 100% sure on this, but a quick scan of the code involved shows the only way this can occur is when Paypal are not showing the transaction as 'VERIFIED'. As Asiby suggests, this may be to due to problems verifying your apache server's SSL certificate.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 24, 2008 7:02 pm 
Offline

Joined: Sat May 10, 2008 4:19 pm
Posts: 132
Location: Wilmington, DE
Stavros,

Thanks for your response.

The only thing missing is an SSL certificate. I thought I could have gotten away without one.

I do have a business account that was working fine on my other system.

I don't know if going back to the sandbox would help. The transaction is processing fine at paypal. I'm getting the customer receipt and the vendor notification, but the customer's account isn't being updated.

I'll get the SSL certificate and try again.

One other thing I would like to know is, where does the transaction key come from? I just inserted a random string of characters.

Here is the epayment section of my config file:

[epayment_method]

enable = yes

; eg, http://localhost - should not be empty for productive servers
http_server = "http://XX.XX.XXX.XX"

; eg, https://localhost - Enter here your Secure Server Address, should not be empty for productive servers
https_server = "http://XX.XX.XXX.XX"

; Enter your Domain Name or IP Address, eg, 26.63.165.200
http_cookie_domain = "XX.XX.XXX.XX"

; Enter your Secure server Domain Name or IP Address, eg, 26.63.165.200
https_cookie_domain = "XX.XX.XXX.XX"

; Enter the Physical path of your Application on your server
http_cookie_path = "/A2BCustomer_UI/"

; Enter the Physical path of your Application on your Secure Server
https_cookie_path = "/A2BCustomer_UI/"

; Enter the Physical path of your Application on your server
dir_ws_http_catalog = "/A2BCustomer_UI/"

; Enter the Physical path of your Application on your Secure Server
dir_ws_https_catalog = "/A2BCustomer_UI/"

; secure webserver for checkout procedure?
enable_ssl = yes

http_domain = "XX.XX.XXX.XX"

; dir_ws_http = "/~areski/svn/a2billing/payment/A2BCustomer_UI/"
dir_ws_http = "/var/www/html/A2BCustomer_UI/"

; maybe try with :
; Define here the URL to notify the payment
; payment_notify_url=http://XX.XX.XXX.XX/A2Billing_UI/paypal/ipn_res.php

;define the different amount of purchase that would be available - 5 amount maximum (5:10:15)
purchase_amount = 20:30:50:100:200

; Item name that would be display to the user when he will buy credit
item_name = "XXXXX Credit"

; 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

; Define here the URL of Authorize gateway
;authorize_payment_url = "https://secure.authorize.net/gateway/transact.dll"
authorize_payment_url = "https://test.authorize.net/gateway/transact.dll"

;paypal store name to show in the paypal site when customer will go to pay
store_name = XXX Internet Phone Service

;Transaction Key for security of Epayment Max length of 60 Characters.
transaction_key = fxxxxxxxxdc9f9tttttttxxxxx771711

;Moneybookers secret word
moneybookers_secretword = xxxxx


Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 25, 2008 4:35 pm 
Offline

Joined: Sat May 10, 2008 4:19 pm
Posts: 132
Location: Wilmington, DE
OK,

As some of you may know, and as the older folks would say: "A little learning is a dangerous thing". We over analyze and wind up with flawed logic. But on the other hand, conflicting information could lead to disasterous decisions, especially for those that are new to the game.

I must thank each and everyone who contributed to this thread, because without your individual contribution, many of us would have been "lost at sea".

I suffered for days because I followed the Paypal guide concerning IPN Instant payment Notification. They said that if you want IPN to work you have to turn on IPN and I assumed you had to include a URL. NOT the case.

Someone mentioned in this thread that their return url didn't match that of Paypal, so the last thing I did was go back the Paypal and remove the IPN URL and BOOM! Problem solved.

As Areski said in one post, "All you need to configure Paypal is in a2billing.conf" and he is perfectly correct.

I admire Stavros for making us think, and thanks again to everyone.

Robin A.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 51 posts ]  Go to page Previous  1, 2, 3, 4  Next
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group