Post by mytaste » Tue Oct 18, 2011 9:24 am

V 1.5.3
After confirm order,customs have another default address on paypal.

Then we post to wrong address(we usually post to paypal address).

I read this http://forum.opencart.com/viewtopic.php?f=20&t=19827

but it's too old,i can't find code: $this->data['fields']['rm'] = '2';

Thank you for your help.

Newbie

Posts

Joined
Mon Oct 17, 2011 5:24 pm

Post by mytaste » Tue Oct 18, 2011 10:39 am

update:
I have checked again,

if you open an NEW paypal account during PAYPAL checkout,the opencart address passed to paypal.

if you Have a PayPal account and sign in, a paypal address will replace opencart address.

Help....

Thank you.

Newbie

Posts

Joined
Mon Oct 17, 2011 5:24 pm

Post by Qphoria » Tue Oct 18, 2011 11:19 am

mytaste wrote: if you Have a PayPal account and sign in, a paypal address will replace opencart address.
That should not be. Technically it should not even ask for an address, as it handled by opencart. But even if it does show an address, the shipping address that opencart uses is the one that was entered on opencart. The paypal one is ignored.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by mytaste » Tue Oct 18, 2011 3:56 pm

Hello,Thank you for your respond.

I use a test account checkout,on Paypal pages "Review your information"

It's my paypal address,Not the address I have type to opencart.

I paid it,then the "payments received emails show PAYPAL ADDRESS"

Not the address on opencart.

http://forum.opencart.com/viewtopic.php ... 60#p209560

it's same problems.

V1.5.3

Thank you.

Newbie

Posts

Joined
Mon Oct 17, 2011 5:24 pm

Post by Qphoria » Tue Oct 18, 2011 9:28 pm

mytaste wrote:Hello,Thank you for your respond.

I use a test account checkout,on Paypal pages "Review your information"

It's my paypal address,Not the address I have type to opencart.

I paid it,then the "payments received emails show PAYPAL ADDRESS"

Not the address on opencart.

http://forum.opencart.com/viewtopic.php ... 60#p209560

it's same problems.

V1.5.3

Thank you.
yes, but that doesn't mean anything. You will still be following your own opencart order data which will have the correct shipping address. The address in paypal doesn't matter. It should just be disabled.

1. EDIT: catalog/view/theme/default/template/payment/pp_standard.tpl

2. FIND:

Code: Select all

<input type="hidden" name="no_note" value="1" />
3. AFTER, ADD:

Code: Select all

<input type="hidden" name="no_shipping" value="1" />

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by mytaste » Wed Oct 19, 2011 9:11 am

Thank you so much for your help.It's works.

but our shipping systems are based on Paypal address.

I have checked code again change "address_override" value from 0 to 1,address could pass to paypal now.

But seemed the code missing "State" then paypal said it's a wrong address.can not Process payments.

Again,Thank you very much,it's much appreciated.

Best regards.

My code:

<input type="hidden" name="currency_code" value="<?php echo $currency_code; ?>" />
<input type="hidden" name="first_name" value="<?php echo $first_name; ?>" />
<input type="hidden" name="last_name" value="<?php echo $last_name; ?>" />
<input type="hidden" name="address1" value="<?php echo $address1; ?>" />
<input type="hidden" name="address2" value="<?php echo $address2; ?>" />
<input type="hidden" name="city" value="<?php echo $city; ?>" />
<input type="hidden" name="zip" value="<?php echo $zip; ?>" />
<input type="hidden" name="state" [[[[[What shall I write here??Thank you for your help!!]]]]
<input type="hidden" name="country" value="<?php echo $country; ?>" />

Newbie

Posts

Joined
Mon Oct 17, 2011 5:24 pm

Post by Qphoria » Wed Oct 19, 2011 11:51 am

mytaste wrote: I have checked code again change "address_override" value from 0 to 1,address could pass to paypal now.
I do not recommend using the address_override. Paypal has a terrible way of handling addresses. If the address doesn't match the exact way they have it in their system, they will completely reject the order with a cryptic error that makes it sound like the merchant's account is bad. It scares the customer and won't let the customer checkout at all. We used to have that but removed it.

Paypal expects state to be the 2 letter iso code i believe

Unfortunately for as popular as the paypal standard checkout system is,.. it is extremely hacky and riddled with bugs and limitations. But they won't be addressing any issues on it. Instead they focus on paypal express and newer apis that still have their own issues

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by mytaste » Wed Oct 19, 2011 1:17 pm

Hello,Thank you for your respond,

after add "state / zone" on PP_standard.php
address_override works now.

and as you said, I much made opencart "Country & State" Complete same as Paypal.

or can not Process payments.

I will try to works with it,

Thank you very much!

Best regards.

I love opencart.

Newbie

Posts

Joined
Mon Oct 17, 2011 5:24 pm

Post by mfive » Tue Nov 22, 2011 10:11 am

@mytaste, I think I have a fix for you... Still having problems or are you fixed?

New member

Posts

Joined
Sat Jan 29, 2011 9:49 am

Post by seti808 » Mon Dec 05, 2011 4:49 am

I got a issue the seems relevant to the title of this post

I've been setting up opencart with paypal and I got it all running but when testing the shopping cart
in guest mode to simulate all those impatient customers that want snappy results or they are gone

this is a problem for me and some of my customers

opencart makes me enter my name and address 1st then when I select paypal I got to enter my name and address
info again. Entering the info twice will annoy quite a few and Im sure I could lose a % of customers completely
or just from returning.

anyone know how to fix this so my customers just have to enter info once?

Newbie

Posts

Joined
Sun Dec 04, 2011 6:16 am

Post by Qphoria » Mon Dec 05, 2011 6:03 am

seti808 wrote: opencart makes me enter my name and address 1st then when I select paypal I got to enter my name and address
info again. Entering the info twice will annoy quite a few and Im sure I could lose a % of customers completely
or just from returning.

anyone know how to fix this so my customers just have to enter info once?
You mean for the credit card payment area on paypal's site?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by seti808 » Mon Dec 05, 2011 6:33 am

yes credit card area on paypal site is asking for address too.

I didn't have to enter credit card info in opencart, it just asked for address which I entered
then when I get to paypal it asks for credit card # (which is ok of course) and it asks for
address info again too which could be an annoyance for buyers.

At least this time is had the name saved over which saved a little annoyance and time but it would be perfect
if opencart could pass the address info along to paypal as-well ???????????

Newbie

Posts

Joined
Sun Dec 04, 2011 6:16 am

Post by Qphoria » Mon Dec 05, 2011 9:15 am

One of us is very confused....

Paypal Standard redirects the customer to their site on the last page. This form passes all the variables paypal supports including the address. When you get to paypal's site.. you have 2 options.
1. Login with your paypal account
2. Enter your credit card

The address is ONLY used for the credit card page and should be populated (except for state at the moment).
Otherwise, if you login to your paypal account.. it will show the user's default paypal address.. but that address is moot and unused by opencart. We should actually pass the no_shipping parameter so that it doesn't even bother to ask. The only address is in opencart and you should only have to enter it once.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by mfive » Mon Dec 05, 2011 9:32 am

seti808 wrote:yes credit card area on paypal site is asking for address too.

I didn't have to enter credit card info in opencart, it just asked for address which I entered
then when I get to paypal it asks for credit card # (which is ok of course) and it asks for
address info again too which could be an annoyance for buyers.

At least this time is had the name saved over which saved a little annoyance and time but it would be perfect
if opencart could pass the address info along to paypal as-well ???????????
@seti808, see my recent post here: http://forum.opencart.com/viewtopic.php?f=113&t=46511

I hope it helps!

New member

Posts

Joined
Sat Jan 29, 2011 9:49 am

Post by seti808 » Fri Dec 09, 2011 2:14 pm

that was it thanks!

opencart rocks

donation coming soon

thanks!

Newbie

Posts

Joined
Sun Dec 04, 2011 6:16 am

Post by mfive » Wed Jan 04, 2012 2:28 am

lol! donation to me or donation to opencart? ;-)

New member

Posts

Joined
Sat Jan 29, 2011 9:49 am

Post by waterfi » Tue Jun 12, 2012 6:48 am

Hey so back to the main topic, what exaclty is the fix?

@Mytaste, can you please post the code you modified to get it working, and does the address override work reliably?

Thanks

Newbie

Posts

Joined
Wed Apr 04, 2012 1:51 am

Post by mfive » Tue Jun 12, 2012 6:59 am

@waterfi, did you check the link I posted 3 posts back?

Edit: just saw your PM - what are you missing/what's not working?

New member

Posts

Joined
Sat Jan 29, 2011 9:49 am

Post by waterfi » Wed Jun 13, 2012 2:17 am

Sorry I had thought you were referring to a different issue. I applied your fix, and then changed all the payment variables to shipping because opencart was sending paypal the billing values as shipping values. But now everything works great, so thanks for your help.

Newbie

Posts

Joined
Wed Apr 04, 2012 1:51 am

Post by kgkaraoke » Fri Jun 15, 2012 6:30 am

Qphoria wrote:
mytaste wrote:Hello,Thank you for your respond.

I use a test account checkout,on Paypal pages "Review your information"

It's my paypal address,Not the address I have type to opencart.

I paid it,then the "payments received emails show PAYPAL ADDRESS"

Not the address on opencart.

http://forum.opencart.com/viewtopic.php ... 60#p209560

it's same problems.

V1.5.3

Thank you.
yes, but that doesn't mean anything. You will still be following your own opencart order data which will have the correct shipping address. The address in paypal doesn't matter. It should just be disabled.

1. EDIT: catalog/view/theme/default/template/payment/pp_standard.tpl

2. FIND:

Code: Select all

<input type="hidden" name="no_note" value="1" />
3. AFTER, ADD:

Code: Select all

<input type="hidden" name="no_shipping" value="1" />
The address entered in PayPal certainly DOES matter, because in order for PayPal Seller Protection to protect the merchant from claims of non-receipt of goods, the [package must be sent to the shipping address shown in PayPal, as evidenced by the tracking number. GEEZ! Where do you guys get your misinformation from?

New member

Posts

Joined
Fri Oct 29, 2010 9:06 am
Who is online

Users browsing this forum: No registered users and 17 guests