Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Paypal Sandbox & a few other questions
- This topic has 11 replies, 3 voices, and was last updated 12 years, 8 months ago by wpCommerce.
June 29, 2010 at 3:03 pm #1431
I’m testing through the Paypal Sandbox and it seems to work ok. I mean, after I make the sandbox purchase, I got an email (to my real email) address and when I clicked “Return to Merchant” I did go to my “thank you for ordering” page. I realise it’s best to test with a .01 purchase but my REAL paypal email to pay and me posing as a buyer (to login to an actual PayPal account) uses the same emails. Actually, I have 4 emails in my PayPal account but they are all tied so PayPal won’t let me login as a buyer.
In other words, if I do a live test of .01, my seller and buyer emails are the same so how can I actually make a purchase? Do I need 2 separate paypal accounts? If so, I’d have to apply for one and wait a week for the deposit etc. right? I don’t have that kind of time.
So, I’m stuck with testing in PayPal’s Sandbox. As mentioned, it seemed to work fine but….
1) The email I got from the plugin says:
“The post payment verification for a payment failed. This could happen for one of two reasons:
1. The fund for the payment have not been cleared yet (no need to do anything as the digital product will be delivered once the fund clears).
2. Someone maybe trying to scam a purchase! (no worries… WP eStore got your back
Here are some more details…
Funds have not been cleared yet. Product(s) will be delivered when the funds clear!”
Here are my ipn log files:
[06/29/2010 2:39 PM] – SUCCESS :Paypal Class Initiated by 18.104.22.168
[06/29/2010 2:39 PM] – SUCCESS :Post string : [edited]
[06/29/2010 2:39 PM] – SUCCESS :Connection to http://www.sandbox.paypal.com successfuly completed.
[06/29/2010 2:39 PM] – SUCCESS :IPN successfully verified.
[06/29/2010 2:39 PM] – SUCCESS :Creating product Information to send.
[06/29/2010 2:39 PM] – FAILURE :Funds have not been cleared yet. Product(s) will be delivered when the funds clear!
[06/29/2010 2:39 PM] – FAILURE :IPN product validation failed.
[06/29/2010 2:39 PM] – SUCCESS :Paypal class finished.
2)For one thing, I’m not selling a digital product. I’m selling a web design service. Also the fee is two-fold, I’m trying to sell a one-time installation fee, e.g. $300 and a monthly fee, say $25/month all from the same “buy now” button on the shopping cart page. If I can’t test in real mode, how will I know that a) they received the thank you email (not the “funds haven’t cleared” email) and know that they are automatically subscribed to the $25/month fee AS WELL?
3) I cannot get rid of discount coupons. Keep in mind, I am using v3.2 of WP eStore and I realise this isn’t the latest version (I do have the latest version though). When I go to edit the coupon, click “Delete Coupon”, it just doesn’t delete them.
4) If I update to the latest version of the plugin, do I need to deactivate the plugin or can I upload over the existing plugin via FTP? Do I need to copy all the current settings such as email, add to cart buttons, etc. or what’s the best way to do this?
Can you please help on all questions above?
ScottJune 29, 2010 at 3:34 pm #22127
Just to mention regarding adding a recurring hosting charge.
I have these settings:
1) For product details, I have the one-off fee, e.g. $300
2) On the same page toward the bottom, I have these for recurring subscription (hosting fee):
Recurring Billing Amount – 25 (for $25/month)
Recurring Billing Cycle – 0 (in text field) Month (in dropdown)
Recurring Billing Count – 0 (in text field)
Reattempt on failure – ticked
I didn’t manually add the 0s (Zeros) they just appeared when I left blank and clicked “Save Product”
So, I’m trying to get the plugin to charge the one time fee of $300 AND a $25/month recurring billing fee.
Will this work? If not, what should I do? Charge the one-off fee of $300 and then send them another link to a subscription of $25/month? So, this would be 2 separate paypal transactions?
ScottJune 30, 2010 at 1:46 am #22128
1. Looks like you are receiving pending payment so please check this post:
2. The only way to find out is to test it. Once you have number 1 resolved, this one will be solved too.
3. You just have to disable the “Coupon Option” from the coupons menu and it won’t display the coupon field in the cart. If you are having issues deleting coupon then it suggests the database is out of sync (this happens when you update plugin but don’t do an deactivation and reactivation). Also please request a new version of the plugin too while you are at it.
4. You can just overwrite using FTP but then you need to do a deactivate and then reactivate the plugin or you can completely delete the plugin and then upload the new copy.
None of your product data, settings data etc will get lost so don’t worry about those.
To make a subscription button that charges $300 as a one time fee then $25/month you just need to charge the $300 as your trial period charge. So the button will have the following details:
Trial Billing Amount – 300
Trial Billing Period – set it to whatever you like (say for example 1 month)
Recurring Billing Amount – 25
Recurring Billing Cycle – 1 Month
Recurring Billing Count – Leave empty so it goes on indefinitely or until canceled.
When this subscription is purchased the person will be charge immediately for $300. 1 month after that he/she will be charge $25 and then this $25/month will continue to recur.July 1, 2010 at 2:00 pm #22129
Thank you very much Amin for taking the time to explain everything
I’m doing as you suggest and I’m sure it’ll work out fine.
Thanks once again!
ScottJuly 1, 2010 at 3:36 pm #22130
Just to confirm, the reason I wasn’t getting a return email (or notification of a sale) is because in the payment gateway, I had to add my “merchant” sandbox test email, whereas I was using my own REAL paypal email. Duh!
Anyway, all seems fine. I’ll see if I can do a real, live test with .01 somehow.
Thanks again Amin!
ScottJuly 1, 2010 at 8:40 pm #22131
OK, I was able to do a live test and everything seems to work ok except I have a few questions about the recurring payment.
Here’s what I did:
1) What I did was made the product a penny (.01) and had my wife purchase through my site.
2) I made the .01 as the Trial Billing amount and set the monthly subscription to .01, 1 Month respectively.
3) My wife got her thank you email, I got a confirmation email so that’s great. However, I looked at her paypal and cannot see any subscription set up. So, how do I know this worked? Is it because there won’t be a first monthly subscription payment for a month? Is that what happens? Or, should I have seen the subscription setup in her paypal account? Just want to make sure it’s working (the monthly subscription part).
4) Lastly, is there any way within the plugin that I can have the paypal page redirect to my “thank you” page? That “Return to merchant” link is very hard to see and I have instructions on the thank you page.
Thanks again for your help
ScottJuly 1, 2010 at 9:24 pm #22132
One more thing. I noticed the the email sent after the sale says it’s from WordPress. This doesn’t sound very professional. Is there any way I can change this title to my site name?
ThanksJuly 2, 2010 at 1:44 am #22133
The subscription won’t get setup during the trial period. To me it looks like you just want to setup a subscription to charge a amount (e.g $9.95) per month, so why not just use that in the recurring amount section and leave the “Trial Stuff” empty as you are not offering a trial period?
The plugin can’t force the customer to be automatically be redirected from PayPal as PayPal likes to make sure that the customer who just paid gets all the confirmation details from the “Payment Confirmation” page.
“I noticed the the email sent after the sale says it’s from WordPress” – Just enter the name and email address in the “From Email Address” field like the following:
Jon Doe <email@example.com>July 3, 2010 at 5:36 pm #22134
OK, perhaps I haven’t made my situation clear enough.
Here’s what I need to do:
1) There are 2 charges for my web design service. The first charge is the “setup fee”. So, this needs to be a certain amount, e.g. $300. This amount needs to be charged once they hit the Buy Now button and are taken to PayPal.
2) The second fee/charge is for the monthly hosting. So, after they pay $300, they need to be charged $20/month.
You originally said to set up the Trial Offer as the one-time (setup) fee, and the monthly subscription to 1 month, $20 (or whatever I want to charge).
Now your saying I don’t want to setup a trial offer. I was only following what you suggested with the trial offer.
So, can I charge them a one-time setup fee AND a recurring subscription fee from within the plugin?
If so, how do I do this?
ScottJuly 4, 2010 at 9:37 am #22135
Sorry I got confused when I read your post with the $0.01 recurring payment!
Your original question was the following:
“I got a confirmation email so that’s great. However, I looked at her paypal and cannot see any subscription set up. So, how do I know this worked? “
As soon as the recurring payment start to get charged in a month the subscription will show up.
Here is the simple rule of thumb… when you pay for the subscription on PayPal it gives you a summary of what you are paying for (e.g. $300 for 1 month and then $29.95 per month). When you see that PayPal is telling you that the customer will be charged a recurring amount just know that PayPal will charge it (you don’t need to verify anything at this stage). You should be able to log into your account in a month time and find out if the subscription amount hit your account or not.July 4, 2010 at 4:16 pm #22136
Thanks for the reply.
OK, just to clarify then. Does this setup look correct?
Trial Period section
1) Trial Billing Amount – 397
2) Trial Billing Period – 1 Month
Recurring Billing section
3) Recurring Billing Amount – 25
4) Recurring Billing Cycle – 1 Month
5) Recurring Billing Count – 0
6) Reattempt on failure – checked
Will that charge a one-time fee of £397 and a recurring billing amount (after 30 days) of £25?
That’s how I have it set up at the moment. If that’s not right, let me know how to correctly set it asap please!
ScottJuly 5, 2010 at 12:49 am #22137wpCommerceModerator
Yes you set it up right.
- You must be logged in to reply to this topic.