Overriding Paypal profile shipping charge

  • Posts: 61
  • Thank you received: 1
10 years 6 months ago #191203

-- HikaShop version -- : 2.3.5

Hi, the Paypal account of the seller has profiles set up that add a shipping charge to the transaction when arriving at the Paypal payment login screen prior to paying for the goods.

Having spoken to Paypal, they have a setting whereby a flag can be set in the transaction variables of the transaction hitting their site to disable the profiles set in the sellers Paypal account.

I cannot see a way to set this variable in the Hikashop Paypal payment plugin. Is there a way to do this?

Thanks in advance.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 5 months ago #191298

Hello,

Having spoken to Paypal, they have a setting whereby a flag can be set in the transaction variables of the transaction hitting their site to disable the profiles set in the sellers Paypal account.

I cannot see a way to set this variable in the Hikashop Paypal payment plugin. Is there a way to do this?


Can you give us more information about that flag ?

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 1
10 years 5 months ago #191309

Hi, thanks for your reply.

Yes - this post might be useful to see:
www.paypal-community.com/t5/How-to-use-P...tor/m-p/40656#M29458

I've used the term 'flag' as from what Paypal say it's an on/off option. From my understanding of this having spoken to Paypal support, turning this flag 'on' then enables third-party systems to override shipping charges being added by Paypal.

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 5 months ago #191359

Hi,

I don't see any mention of a shipping override variable that shopping carts could send to PayPal in your link.

Here is the list of all the possible parameters that a shopping cart can send to PayPal:
developer.paypal.com/docs/classic/paypal...ndard_htmlvariables/
There is no mention of any "shipping override".

The only variable close enough to that is the "shipping" variable which contains the shipping amount when you have the "send order details" option turned on in the PayPal payment plugin in HikaShop.

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 1
10 years 5 months ago #191524

When we spoke to developer support at Paypal they suggested this was possible, but maybe it is not a special variable as such. The option to allow shipping to be overridden has to be checked by the account holder for their profile-based shipping charges, but I wonder if then if this page is helpful to indicate how Paypal will disregard its own shipping amount:

www.paypal.com/uk/cgi-bin/webscr?cmd=_pd...errides_outside#ship

If the 'shipping' and 'shipping2' in this example were both set to zero would that then disable any shipping from Paypal being displayed in the transaction total as well as any reference to "Shipping"?

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 5 months ago #191585

Hi,

Try to add the line:
'shipping' => '0',

after the line:
'test_ipn' => $debug,
in the file plugins/hikashoppayment/paypal/paypal.php and that will add that shipping parameter.

The following user(s) said Thank You: miwhel

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 1
10 years 5 months ago #192905

Thanks Nicolas. This project is now wrapped up, but we will look to use that option should we hit it in the future.

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum