Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 5:19 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Paypal - No Balance update after Paypal transaction
PostPosted: Tue Nov 13, 2007 2:17 pm 
Offline

Joined: Mon May 07, 2007 8:27 am
Posts: 38
Hi,

This is very comon problem but no perfect solution. I am having the same problem. Let me explain a bit.

For Information I am using A2B ver 1.2.3

When customer logs in customer interface and tries to purchase credit through PayPal using Credit Card, they get paypal payment page and successfully pays their payment.

In PayPal I have enable "Instant Payment Notification" and set URL=http://a2b.mycompany.com/A2Billing_UI/paypal/ipn_res.php

(I have tried with both http and https)

I have enabled "Payment Data Transfer" under "Website Payment Preferences". I have enabled "Auto Return" as well with Return URL=http://a2b.mycompany.com/A2BCustomer_UI/index2.php

Here are the configs of Paypal section in a2billing.conf

***************************************************
; PAYPAL SETTINGS
[paypal]

Set the Paypal Email account.
[email protected]

; Set the from:address for the transaction notification
[email protected]

; Define the from:name for the transaction notification
from_name=SALES

; Set the company name to send for the transaction notification
company_name=Company Full Name

; Set the email address for the notification and error report
[email protected]

; The Item name that is displayed to the customer when credit is purchased
item_name="Credit Purchase"

; Currency for the purchase, only one currency can be defined
currency_code=USD

;IMPORTANT - Define here the URL to notify the payment back to the customer
;note that this is initiated by Paypal, and uses port 445 HTTPS, so this port must be open in the firewall.
notify_url=http://a2b.mycompany.com/A2Billing_UI/paypal/ipn_res.php

;Set the different amounts which are available - 5 amounts maximum (5:10:15)
purchase_amount=5:10:20:50:100

; paypal log file, to log the transactions & errors
paypal_logfile=/tmp/a2billing_paypal.log

************************************************************

Here is the response I got by email

************************************************************

Bad order (PayPal says it's invalid)HTTP/1.1 200 OK

Date: Tue, 13 Nov 2007 13:52:36 GMT

Server: Apache/1.3.33 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e

Set-Cookie: cwrClyrK4LoCV1fydGbAxiNL6iG=%7CgwTqlIcifTCGkHWtDr5TwQZBfY-xUV1-9olMzyVCenBpVme6odPFbJNKMMdfLhvQ2AXYdG%7CyPzxp-xMNvaMWdwqhXXduV-KEBArrjpTK3-H4fu8DUsrIJSGS5W_yk9QcMgxtRUwhGahR0%7C; path=/; domain=.paypal.com
Set-Cookie: cookie_check=yes; expires=Fri, 10-Nov-2017 13:52:36 GMT; path=/; domain=.paypal.com

Set-Cookie: navcmd=_notify-validate; path=/; domain=.paypal.com

Set-Cookie: Apache=XXX.XXX.XXX.XXX.98141194961956385; path=/; expires=Thu, 05-Nov-37 13:52:36 GMT

Connection: close
Content-Type: text/html; charset=UTF-8

INVALID

************************************************************

I do not see any entries in PayPal transactions under admin site.

I would really appreciate if someone can help me out.

Please let me know if you need further details.

Thanks

Salman Karim


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 13, 2007 6:12 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Please do not create multiple threads for the same subject. Let's continue there http://forum.asterisk2billing.org/viewt ... highlight=


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

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