PayPal payment plugin default values

  • Posts: 205
  • Thank you received: 12
3 years 8 months 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: 82868
  • Thank you received: 13376
  • MODERATOR
3 years 8 months 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: 205
  • Thank you received: 12
3 years 8 months 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.062 seconds
Powered by Kunena Forum