100% discount coupon results in error from Paypal

13 replies [Last post]
athleticmindedt...
Offline
Joined: 05/20/2010
Status: 
Answered

If a user registers and gets a membership which auto renews and uses a 100% discount coupon, the user is redirected to PayPal and gets the following error:

>> Invalid Regular period. You must specify valid values for the A3, P3, and T3 parameters for a subscription.

Is there any quick workaround to this?

Leighton Whiting
Online
Joined: 06/02/2009
Jon, The way that coupons

Jon,
The way that coupons work with Recurring payments is they reduce the amount paid each month. So in the case of having a 100% discount option, there would be no point of setting up something which charges the user $0 each month.

What you could try doing is setting a Free Trial period for the membership so that the first month is free. Then you can set this membership plan to only show at a special URL, something like user/register/SpecialFreeMonth or something. Would that work for you?

Sincerely,
Leighton Whiting

athleticmindedt...
Offline
Joined: 05/20/2010
Hi - Thanks so much for the

Hi -
Thanks so much for the response. Here's my client's requirements. They have a set of memberships (annual auto-renew, monthly auto-renew, 3 week temporary no renew) and when a user registers the user needs to purchase one of them. They also have coupons for free memberships that they give out.

But when a user tries to get the annual membership (or any membership that has auto renew) and uses the 100% coupon it fails.

The client wants the user to be able to get a permanent membership (that never expires) for free using a coupon when they register. In the case of the client the membership they ask the users choose is the annual one and use the coupon.

Is there not some some patch that could check if the cart total is $0 do not initiate Paypal just give them the membership? My understanding was that this was the way it worked.

Please advise.

Leighton Whiting
Online
Joined: 06/02/2009
This is something that I am

This is something that I am interested in as well. I will do some work on it and see if I can get the new 100% coupon feature worked in to the next version of MS Core.

Sincerely,
Leighton Whiting

Leighton Whiting
Online
Joined: 06/02/2009
Update on this, I have added

Update on this, I have added some changes to MS Core to just mark orders with an amount of 0 as paid for, so the 100% coupon works now. I will release it with the next version of Membership Suite.

Sincerely,
Leighton Whiting

vjloebach8
Offline
Joined: 07/20/2010
100% Coupon

I used the 100% coupon on one of my plans and it did make the order total $0 as intended but then it redirects to Paypal. Shouldn't this just get marked as paid and bypass Paypal.

I tried it with recurring plans, regular plans etc... and was always sent to Paypal for a zero dollar order. I am using the latest version of Pay to Publish. Just bought it today.

Thanks
Valerie

Leighton Whiting
Online
Joined: 06/02/2009
Valerie, This is something

Valerie,
This is something that will be in the next update, so it's not out yet. It will probably take a few days until the next release.

Sincerely,
Leighton Whiting

vjloebach8
Offline
Joined: 07/20/2010
Thanks

Thanks for the quick response. By the way I think this is a great program. I had a similar one working but it took me about 10 modules to get it all pieced together.

While I am waiting for the next release, let me ask you this if I may. In my case when the site goes live I want to let people place their ads for free for say the first 90 days. So I could create a free plan for that content type and also a paid plan for that same content type and after the 90 days I could deactivate the free plan. Now if someone wants to continue to run their ad is it possible to select the paid plan for it after they have had the free plan? Kinda of an upgrade without having to resubmit the ad?

I thought about using the free trial period but it still takes you to Paypal which is what I want to avoid as I believe it will cut down on the number of people placing ads even if they are free.

Thanks in Advance,

Valerie

Leighton Whiting
Online
Joined: 06/02/2009
Valerie, Your plan is a good

Valerie,
Your plan is a good one, that will work just fine.

Sincerely,
Leighton Whiting

vjloebach8
Offline
Joined: 07/20/2010
So far so Bad

I set up 2 payment plans as discussed, after completing the AD I selected the free listing (ms_paypublish/publish/92) and hit the Publish Button and it took me to the WSOD but still said the address was ms_paypublish/publish/92.

I used the back arrow to try again with the same results. For the 3rd try I selected the paid listing, it took me to the checkout page as it should have. However because of using the back arrow and trying 3 times my invoice was now 3 times the normal listing price.

So I have a couple of problems
1. It won't let me have a listing for $0
2. If you should make a mistake or use the back arrow I couldn't find a way to remove the extra listings from the shopping cart or cancel the order
3. When I did get it published the email confirmation displayed the tokens instead of the data as in:

Your payment of [amount] has been received and [days] days have been added to
your content: The Pipe Shop ([path]).
It will expire on [expires].
To purchase additional time, please click here: [publishLink]

Any help would be appreciated,
Valerie

Leighton Whiting
Online
Joined: 06/02/2009
1) The listings for 0

1) The listings for 0 functionality will also be in the next release.

2) Not sure why you were getting the white screens, but if you show the cart block in the sidebar, users can remove the items from the cart. I should probably add this to the checkout page as well.

3) Those tokens are the old ones from Pay to Publish 3. I see that they are still being used in the .install file. I will change them for the next release, but you will have to change them in the settings. Most of the tokens have changed, just look at what tokens are available and change them.

Sincerely,
Leighton Whiting

vjloebach8
Offline
Joined: 07/20/2010
Okay

1) So are you saying there is really no way to accomplish what I described in my previous post because there isn't $0 functionality or 100% coupon until the next release?
2)Didn't realize there was a cart block. I will turn that on and see if it takes care of that problem.
3) Okay I will update the tokens but I guess the other issue is why did I get this:
"Your payment of [amount] has been received and [days] days have been added to
your content: The Pipe Shop ([path]).
It will expire on [expires].
To purchase additional time, please click here: [publishLink]"

Since it was a newly created node and not one I was adding days to? I just tried it again by publishing another node and got the same message.

Valerie

Update on #3
After investigating further it appears that by design the same "Payment Received" email goes out if you are paying for a new node or adding time to an existing node. Could this be broken down to "Payment Received - New Listing" and "Payment Received - Listing Extended" ?

vjloebach8
Offline
Joined: 07/20/2010
Okay

Help with #11 please
Valerie

Leighton Whiting
Online
Joined: 06/02/2009
Valerie, Sorry about the

Valerie,

Sorry about the delay.

1) So are you saying there is really no way to accomplish what I described in my previous post because there isn't $0 functionality or 100% coupon until the next release?

That's right. The $0 functionality was added a couple of releases ago, and should be working, but the new release adds extra support for it in MS Core.

 

Update on #3
After investigating further it appears that by design the same "Payment Received" email goes out if you are paying for a new node or adding time to an existing node. Could this be broken down to "Payment Received - New Listing" and "Payment Received - Listing Extended" ?

This is a good idea, I'll add it to the next update as well.

Sincerely,

Leighton Whiting

Twitter Feed