Closed (fixed)
Project:
lm_paypal
Version:
master
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
26 Oct 2006 at 14:39 UTC
Updated:
3 Jan 2007 at 09:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
LeeMcL commentedNo you are doing it right. Sadly I wasn't! Looks like I got over enthusiastic while validating various fields to the extent that free trials stopped working.
I've corrected this in CVS and attached the same patch here.
While doing this I found and fixed a couple of other small problems (see the CVS log for details).
Comment #2
bspark commentedWorks great! Thanks for the speedy response.
Comment #3
LeeMcL commentedIssue solved
Comment #4
bspark commentedUnfortunately the free trials are not working completely. When I tested this before I had a monthly charge of $.02. That worked fine. Until today I left it set to that amount for testing. I changed the monthly charge to $100 today to test before going live and saw the following in my PayPal account:
Total Amount: $100.00 USD
Fee Amount: -$3.20 USD
Net Amount: $96.80 USD
Before with it set to $.02 I saw this:
Total Amount: $.02 USD
Fee Amount: -$.02 USD
Net Amount: $0.00 USD
I also tested this with it set to $1.00 and got this:
Total Amount: $1.00 USD
Fee Amount: -$0.33 USD
Net Amount: $0.67 USD
In all cases I have it set for a free trial for 1 month.
Any help here?
Thanks in advance!
Comment #5
LeeMcL commentedHi. I'm sorry but I dont understand your problem report. You set the subscription amount to various values which appear to be correctly handled by PayPal ... I dont see an error. Perhaps I'm just a little tired as I'm hard at work on another project at the moment.
Lee
Comment #6
bspark commentedYou're correct...the monthly charges seem to be handled fine by PayPal. What doesn't seem to be working is the free trial period. I was under the assumption that you achieved the free trial by simply setting the "Fee Amount" to the negative of whatever the "Total Amount" is, so they cancel out. I say this because this is how it worked when I first tested it with a value of $.02.
For the $100 monthly subscription with a 1 month free trial I have the following settings in my LM PayPal Subscription:
Regular Rate: $100.00
Regular Billing Cycle: 1
Regular Billing Cycle Units: Months
Recurring Payments: Yes
Recurring Times: [Empty]
Trial amount 1: [Empty]
Trial period 1: 1
Trial period 1 units: Months
Hopefully this is more clear. Please let me know if you need any more info.
Thanks again!
Comment #7
LeeMcL commentedI don't think free trials work that way. When I was testing them I just had a trial period with a zero amount. I'm really not sure what will happen with negative amounts!
Lee
Comment #8
bspark commentedI'm not using negative amounts. That negative amount I was referring to was what I saw in the transaction details in PayPal. All I'm trying to do is have a free trial for 1 month, and recurring monthly charge of $100 after the first month. Are these not the correct settings to achieve this?
Regular Rate: $100.00
Regular Billing Cycle: 1
Regular Billing Cycle Units: Months
Recurring Payments: Yes
Recurring Times: [Empty]
Trial amount 1: [Empty]
Trial period 1: 1
Trial period 1 units: Months
Comment #9
LeeMcL commentedYes those are the correct settings for a free one month trial followed by a $100/month regular fee. Paypal will, of course, takes its fees from this. I can't remember the exact amount but on $100 a fee of $3.20 sounds right. I still dont see where the fault is in this!
Lee
Comment #10
bspark commentedIt appears that the user is being charged the first month when it should be free. There is nothing indicating a free trial.
Comment #11
bspark commentedI checked my credit card account and it was definitely charged even though I had it setup for the one month free trial. Any help?
Thanks.
Comment #12
LeeMcL commentedSorry I've not had a chance to look at this but I have a rush job on. I will be able to look into it on Monday.
Lee
Comment #13
bspark commentedHi Lee,
Have you had a chance to give this a look?
Comment #14
LeeMcL commentedFirstly my apologies for the delay in fixing this but I was swamped completing another project on time. So two linux device drivers, an LCD interface, a simple graphics library, and an SMS/modem interface later...
I've fixed the code to properly handle free trials and I've applied the patch to the copy in HEAD. I've attached a copy of the same patch here.
Lee
Comment #15
adelablue commentedHi, I was dealing with the trial period stuff, too.
I wonder after the user subscribes as a member should the status displayed as "already subscribe" or others?
Since after subscribe but in free trial period, I didn't see the "already subscribe"....
Comment #16
LeeMcL commentedI just ran a test by creating a role subscription with a one week free trial. I subscribed and checked straight away and I was "already subscribed".
Sometimes it can take a little while for the IPN message to come from PayPal, could you check it wasn't delayed. If that isn't it then have a look at the logs for both Drupal and LM_PayPal and see if there are any problems reported.
Lee
Comment #17
(not verified) commented