- Posts: 205
- Thank you received: 12
PayPal payment plugin default values
5 years 6 months ago #330770
by liaskas
PayPal payment plugin default values was created by liaskas
-- 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
-- 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
Please Log in or Create an account to join the conversation.
5 years 6 months ago #330793
by nicolas
Replied by nicolas on topic PayPal payment plugin default values
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.
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.
5 years 6 months ago #330920
by liaskas
Replied by liaskas on topic PayPal payment plugin default values
This worked fine!
Thank you Nicolas... one more time!
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.149 seconds