PayPal payment plugin default values

  • Posts: 195
  • Thank you received: 12
  • Hikamarket Multivendor Hikashop Business
1 month 4 weeks ago #330770

-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9.25
-- PHP version -- : 7.4.14

When we try to create a new payment method using the Paypal (HikaShop Paypal payment plugin) plugin, we have to set some settings and values.

One of the values we have to set is Send details
The default setting for this is NO. Where can we change it to be yes?

Screenshot:



Thank you

Attachments:

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

  • Posts: 72763
  • Thank you received: 11096
  • MODERATOR
1 month 3 weeks ago #330793

Hi,

In the file plugins/hikashoppayment/paypal/paypal.php you have the line:
$element->payment_params->details = 0;
Change it to:
$element->payment_params->details = 1;
and it will be activated automatically when you create a new payment method.
Note that this change will be lost when you update HikaShop as the file will be overwritten.

The following user(s) said Thank You: liaskas

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

  • Posts: 195
  • Thank you received: 12
  • Hikamarket Multivendor Hikashop Business
1 month 3 weeks ago #330920

This worked fine!
Thank you Nicolas... one more time!

The following user(s) said Thank You: Philip

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

Time to create page: 0.055 seconds
Powered by Kunena Forum