Forums / PayPal Express Checkout support / paypal express remove address override / confirm address for loggedin users

paypal express remove address override / confirm address for loggedin users

Views: 7,231

Results 1 to 4 of 4
21 Feb 2017, 12:19 PM
#1
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

paypal express remove address override / confirm address for loggedin users

1.5.0

paypal express override shipping with paypal address for loggedin users, it's annoying

here's the answer if you want to hide the confirm address

change

if ($_SESSION['cart']->get_content_type() == 'virtual' && isset($_SESSION['customer_id']) && $_SESSION['customer_id'] > 0) {      $this->zcLog('ec-step1-addr_check', "cart contents is virtual and customer is logged in ... therefore options['NOSHIPPING']=1");      $options['NOSHIPPING'] = 1;    } else {      $this->zcLog('ec-step1-addr_check', "cart content is not all virtual (or customer is not logged in) ... therefore will be submitting address details");      $options['NOSHIPPING'] = 0;

to

if ($_SESSION['cart']->get_content_type() == 'virtual' && isset($_SESSION['customer_id']) && $_SESSION['customer_id'] > 0) {      $this->zcLog('ec-step1-addr_check', "cart contents is virtual and customer is logged in ... therefore options['NOSHIPPING']=1");      $options['NOSHIPPING'] = 1;    } else {      $this->zcLog('ec-step1-addr_check', "cart content is not all virtual (or customer is not logged in) ... therefore will be submitting address details");      $options['NOSHIPPING'] = 1;

in /includes/modules/payment/paypalwpp.php

does not effect new account address population

3 Mar 2017, 5:11 PM
#2
shopville avatar

shopville

Zen Follower

Join Date:
Aug 2012
Posts:
331
Plugin Contributions:
0

Re: paypal express remove address override / confirm address for loggedin users

Hi,
I'm not sure if this is the same issue i'm facing, here's my issue

Customer is logged in to store
customer checks out using his business address
Customer chooses pay by paypal (express module installed)
Customer logs into paypal
His default paypal address is now shown and carried over to order unless changed within paypal

25 Mar 2022, 10:55 AM
#3
dastyen avatar

dastyen

New Zenner

Join Date:
Sep 2018
Location:
athens
Posts:
36
Plugin Contributions:
0

Re: paypal express remove address override / confirm address for loggedin users

ShopVille:

Hi,
I'm not sure if this is the same issue i'm facing, here's my issue

Customer is logged in to store
customer checks out using his business address
Customer chooses pay by paypal (express module installed)
Customer logs into paypal
His default paypal address is now shown and carried over to order unless changed within paypal

Maybe this is default by the seller paypal account

I have found this link

https://www.paypal.com/ba/smarthelp/article/why-can't-my-customers-choose-a-ship-to-address-other-than-the-default-address-for-their-paypal-account-ts2147

19 Jan 2024, 4:07 PM
#4
rlroger avatar

rlroger

New Zenner

Join Date:
Aug 2023
Location:
Ohio
Posts:
3
Plugin Contributions:
0

Re: paypal express remove address override / confirm address for loggedin users

Anyone still having issues with this? I have tried this both ways. Default it changes the address. Then the other way it does not process the order if the address does not match.

Where is the SQL statement that changes the address, can't we just mark that out. I have searched thru the file trying to find it with no luck. There has to be a better answer.