Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Jul 23, 2019 4:58 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Payment applied twice instead of once
PostPosted: Sun Nov 11, 2007 4:23 am 
Offline

Joined: Fri Apr 06, 2007 8:26 pm
Posts: 34
I am using Paypal successfully but the customer accounts are being credited with exactly 2 the amount that the customer bought. E.G. Customer buys 10 USD but get credit for 20 USD in his account and in the Payment transactions the payment appears twice with 10USD each. The customers Paypal account is only charged for 1x 10USD.

The problem here is that the CC is getting double the credit than it should.

Pls help seeing that I do not know how many times this has happened and now have to go through the payments by hand and remove the excess credit.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 22, 2007 9:59 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
BUMP!
Can anyone using Paypal confirm or deny this?

Which exact version of A2B are you running please, warlock?
Code:
# php /var/lib/asterisk/agi-bin/a2billing.php -v
A2Billing - Version Asterisk2Billing - Version 1.3.0 (Yellowjacket)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 22, 2007 11:16 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
I will keep my eyes open. So far, we haven't observed that kind of problem.

warlock52, how can I subscribe to you services? I will buy I and get another one free. :lol:

I have a possible lead. Is it possible that a simple refresh of the userinfo.php page will cause that kind of problem? Handling data received for forms are tricky sometimes. I am not sure how it done is this case. I always make sure that the processing of the data is done outside of the scope of the web browser (100% server side). So hitting "Back" or refresh will not resubmit or reprocess the data. I know that currently, when you refill a card and refresh the page afterward, the card will be refilled again and as many times as you will refresh the page.

Is this problem happening with all your customers or just some of them?

Regards


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 23, 2007 1:55 am 
Offline

Joined: Sat Mar 31, 2007 10:30 pm
Posts: 28
Location: USA
Yes it happened to me, what I did was to backup and re-install A2B, and that fix it. :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 23, 2007 4:42 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
In looking for something else I stumbled upon this which looks like it might be relevant to your problem.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 5:40 am 
Offline

Joined: Sun Feb 25, 2007 3:10 am
Posts: 190
Location: Philadelphia, PA
I have a similar situation. Most of my users are cash based and we use the refill button to recharge account. Sometimes it refreshes itself and you see double payment. The time interval is between 9 to 15 minutes. I am going to try adding TTL of 3 minutes to see if that solves it. If anyone does refill you need to go back to check periodically to make sure you don't loose money. We are using 1.3.1.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 6:22 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
What can possibly cause the refresh. I have never noticed that in my a2billing admin UI. There is one fact, the little refill form is processed in the same page as the customer list itself. That is why any manual or automatic refresh will lead to a potential disaster. If your page is being refreshed manually, then tell your coworkers or employees to stop refresh at once. If it is automatic, then it must be in your template. Check the html HEAD tag if you have any refresh meta tag and get rid of it.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 6:30 am 
Offline

Joined: Sun Feb 25, 2007 3:10 am
Posts: 190
Location: Philadelphia, PA
Its done automatically, they're all remote co-workers. My thought is if I add a TTL of 3 minutes it will ask for authentication before refresh and thus prevent it. I am also playing around with the code to see if I can get a total sales made column added when an agent signs out at the end of each day.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 1:45 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Hello broadbandvoice,

To tell you the truth, the error can still occur inside the 3 minute frame. if you can find a way to redirect with a querystring after the refill, it will solve the problem.

Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 18, 2008 7:50 pm 
Offline

Joined: Sun Feb 25, 2007 3:10 am
Posts: 190
Location: Philadelphia, PA
The redoubling problem just came back. Does any one has a code that checks for double transactions and take out the old one. The customer buys through paypal and paypals charges only once but is credit twice on our payment side. Where is the source of the problem? Is it A2billing. Mysql or Apache. If I can narrow it down, that will help.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 19, 2008 3:40 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Is it happening with just a few specific customers? or all of them? Are you using SSL?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 19, 2008 4:23 pm 
Offline

Joined: Sun Feb 25, 2007 3:10 am
Posts: 190
Location: Philadelphia, PA
its happening randomly. I restarted the server and yesterday we had two incident. So far today it has stayed ok but still want to get to the bottom of it. We have SSL on the server.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 23, 2008 3:45 am 
Offline

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

I noticed a double payment about a week ago and it scared the pants off of me. I still can't figure out how it happened. Has anyone found the problem?

I'm running SSL and the payment was made through Paypal.

Running the latest A2B on PIAF 1.2 and Asterisk 1.4.20.1.

Some help here would be greatly appreciated.

Thanks,

RobinA.


Top
 Profile  
 
 Post subject: Re: Payment applied twice instead of once
PostPosted: Sat Nov 24, 2012 7:42 am 
Offline

Joined: Sat Nov 24, 2012 6:43 am
Posts: 4
Hello guys,
How come thet this bug is still there?
I'am using A2B 1.9.4 and no paypal yet.
I have agents and they're complaining that randomly when they add a refill the refill is added 2 or 3 times with the same amount.
Please help.

Regards,


Top
 Profile  
 
 Post subject: Re: Payment applied twice instead of once
PostPosted: Sat Nov 24, 2012 8:07 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Some work was done on paypal for the latest release to support the new Paypal methods, I'd advise upgrading to the latest version, as Paypal will cease to work for you after January 2013

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Voice Broadcast System


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