Re: PayPal has unexpectedly returned a blank address
May have found a bug in virtual products handling, by virtue of the way PayPal handles addresses for virtual items.
Try setting your product as "Product Is Virtual" = Yes, Skip Shipping Address.
And make this small code change by adding in the new highlighted line exactly as shown:
/includes/modules/payment/paypalwpp.php, line 1661 (v1.5.0)
Code:
// Check for blank address -- if address received from PayPal is blank, ask the customer to register in the store first and then resume checkout
if ($_SESSION['cart']->get_content_type() != 'virtual')
if ($response['SHIPTONAME'] . $response['SHIPTOSTREET'] . $response['SHIPTOSTREET2'] . $response['SHIPTOCITY'] . $response['SHIPTOSTATE'] . $response['SHIPTOZIP'] . $response['SHIPTOCOUNTRYCODE'] == '') {
This fix is included in v1.5.1.
Re: PayPal has unexpectedly returned a blank address
I'll test it in about an hour after a db swap.
Thanks for the idea, I would love to skip this shipping step.
Re: PayPal has unexpectedly returned a blank address
No luck.
I switched back to virtual and edited paypalwpp.
While finalizing the purchase in PP, I was sent back to steps 2 and 3 of the cart.
Re: PayPal has unexpectedly returned a blank address
Steps 2 and 3 are still necessary. But the "unexpectedly returned a blank address" problem is gone, right?
Re: PayPal has unexpectedly returned a blank address
Quote:
Originally Posted by
DrByte
Steps 2 and 3 are still necessary. But the "unexpectedly returned a blank address" problem is gone, right?
Ok, I was confused. Step 3 "Order Confirmation" appeared to be a shipping confirmation because of the shipping address.
So I guess I should rephrase my question:
Why the return to the cart from PP?
PP has these confirmation steps built in to their system.
This is very confusing to customers who want a true express checkout.
Re: PayPal has unexpectedly returned a blank address
Quote:
Originally Posted by
slingblade01
So I guess I should rephrase my question:
Why the return to the cart from PP?
PP has these confirmation steps built in to their system.
The return to cart is necessary so that these situations can be handled:
- shipping, if applicable (needs address info to calculate)
- taxes, if applicable (needs address info to calculate)
- coupons, if offered (PayPal doesn't support this on their end)
- gift certificates, if offered (PayPal doesn't support YOUR gift certs on their end, only the ones THEY issue)
Plus, it's the way PayPal architected it initially. They're making some changes to bandage some of these limitations as time goes on, some even on our suggestion, amazingly enough.
Re: PayPal has unexpectedly returned a blank address
#21 in this thread solved my issue.
Thanks.:clap:
Re: PayPal has unexpectedly returned a blank address
Just wondering if there are any new developments on this. I have the same problem and have tried #21 along with several other changes but no luck.
Re: PayPal has unexpectedly returned a blank address
I am having the same problem and post 21 didn't help ether. Its very frustrating! I am using V1.50 and moved from go daddy to host gator. I had no problem on go daddy:no:
Re: PayPal has unexpectedly returned a blank address
Post #21 solved it for me! (I'm using an entirely fresh install of v1.5 with no mods).
Thanks DrByte!
All the best
Simon