Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Apr 20, 2024 2:41 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: 1.31 Epayment
PostPosted: Sat Dec 15, 2007 7:34 pm 
Offline

Joined: Sat Dec 15, 2007 7:21 pm
Posts: 1
I have 1.31 installed on elastix. When I try to make a purchase
checkout_confirmation.php does not have the previous selection pay pal
And the amount selected. The confirm order button appears but there is no amount or payment type. When I click confirm order I get a blank screen


Can someone help?
Thank You
Jack


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 15, 2007 8:49 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Confirm that all the settings in the [epayment_method] section of a2billing.conf are correct. In particular check that all the http* and dir_ws* paths and domains are correct.
Also ensure http_domain and https_domain are valid internet resolvable hostnames that point at this machine.
For Paypal I think you may need to have enable_ssl = yes too, but I don't use it so I'm not too sure.

Also in the [webcustomerui] section there is the setting paypal=yes. This may or not not be relevant; it might be a relic from the older Paypal code, and therefore it might not do anything.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 16, 2008 1:10 am 
Offline

Joined: Tue Jan 01, 2008 2:31 pm
Posts: 18
I'm plagued by the same problem as jack2007.

I get a blank screen when confirming the order.

To pinpoint what the problem might be, I tried disabling the entries in my a2billing.conf dealing with HHTPS. In that case, however the payment at Paypal does get billed but does not get credited in A2B.

Assuming I do indeed need a SSL certificate to have Paypal running and crediting correctly, which I have now purchased and installed, I re-enabled the HTTPS values, also mirroring what I have seen in other threads, but I am stuck at the same situation jack2007 reports. :(

I have read several threads and ok... I understand it's all to do with a2billing.conf, yet I still cannot see what I have done wrong.

Here is a quote from my a2billing.conf:

Quote:

[epayment_method]
enable = yes
; eg, http://localhost - should not be empty for productive servers
http_server = "http://areaclienti.***********.net"
; eg, https://localhost - Enter here your Secure Server Address, should not be empty for productive servers
https_server = "https://areaclienti.***********.net"
; Enter your Domain Name or IP Address, eg, 26.63.165.200
http_cookie_domain = areaclienti.***********.net
; Enter your Secure server Domain Name or IP Address, eg, 26.63.165.200
https_cookie_domain = areaclienti.***********.net
; 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 = areaclienti.***********.net

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

; maybe try with :
; Define here the URL to notify the payment
;payment_notify_url="http://areaclienti.***********.net/thankyou.html"

;define the different amount of purchase that would be available - 5 amount maximum (5:10:15)
purchase_amount = 1:25:50:100:250

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

; Currency for the Credit purchase, only one can be define here
currency_code = EUR

; 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 = XXXX XXXXX

;Transaction Key.... xxx'd for privacy reasons just here on the forum
transaction_key = xxxxxxxxxxxxxxxxxxxxxxxxx



I have obvously set the lowest payment at 1 Euro during tests.... and then raise it to 10 Euros when going live.

The last line of my ssl_error.log I'm sure may contain the key....

[Wed Jan 16 02:27:03 2008] [error] [client 87.xxx.xxx.xxx.] File does not exist: /var/www/html/A2BCustomer_UI/A2BCustomer_UI, referer: http://areaclienti.xxxxxxxxxxx.net/A2BC ... amount.php

It seems that A2BCustomer_UI is "doubled" in the string, still I fail to see how....


Please try to have mercy on my poor soul.... I'm stuck!

Thanks.


Last edited by LupoSol on Wed Jan 16, 2008 11:09 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 16, 2008 12:08 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
The duplication seems to be due to your configuration. Try removing the trailing 'A2BCustomer_UI/' from dir_ws_http.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 16, 2008 3:44 pm 
Offline

Joined: Tue Jan 01, 2008 2:31 pm
Posts: 18
Thanks Stavros,

Unfortunately, it doesn't make any difference, it still gives me a 404 HTTP error page not found.

I can't go live until I sort this out.... :(

I've checked everything I could possibly think and it seems fine to me.

What else can it be?

Any further help is highly appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 16, 2008 11:07 pm 
Offline

Joined: Tue Jan 01, 2008 2:31 pm
Posts: 18
For the benefit of the whole forum, I have finally fixed the problem, everything works smoothly now, and the balance is properly updated.

This is my current amended a2billing.conf:

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


The rest, apart from the top up minimum amount set as 10 Euros, it's as per post above.

I hope it can be of help.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 17, 2008 11:43 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
:lol: LupoSol, I don't know if it's on purpose, but by x-ing out your domain name, it ended up point toward another valid domaine. Click on http://areaclienti.xxxxxxxxxxx.net to check it out :lol:


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 17, 2008 11:54 am 
Offline

Joined: Tue Jan 01, 2008 2:31 pm
Posts: 18
Lol Asiby..... :lol:

I'm not into that sort of business at all, it's absolutely coincidental!!!

Nice to have a laugh also on this forum.

Thanks to all those (especially stavros) who offered suggestions and help to fix my problem.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 17, 2008 12:02 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
:lol: Hendecuple-X.... Over 366% more titillating than triple-X.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 23, 2008 4:40 am 
Offline

Joined: Tue Jan 22, 2008 9:40 pm
Posts: 15
Location: Columbus OH
LupoSol wrote:
For the benefit of the whole forum, I have finally fixed the problem, everything works smoothly now, and the balance is properly updated.

This is my current amended a2billing.conf:

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


The rest, apart from the top up minimum amount set as 10 Euros, it's as per post above.

I hope it can be of help.


I am trying to use your setup. However I don't have a SSL. What do I fill in such blanks as https_server =

blank
http://40.189.345.567
https://40.189.345.567
40.189.345.567

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 23, 2008 5:02 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Enter them identical to http_server.
I'm not sure the payments will be credited to you without the payment gateway being able to contact you securely. Perhaps Paypal will, but I'm pretty sure Moneybookers insist on HTTPS.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 18 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