Paypal express

  • Posts: 93
  • Thank you received: 1
6 years 3 months ago #285869

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 7.1.13
-- Browser(s) name and version -- : 57.0.4 Firefox

Hello,
There is a problem with transferring the product data when paying with Paypal express.
The product details are missing, there are specific fields that are required
Will be paid by bank transfer everything is fine.
See photos

Best regards Kurt

Attachments:

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
6 years 3 months ago #285891

Hi,

Thank you for your feedback.
Change the code:

if(!empty($itemFields)) {

					foreach($itemFields as $field) {
						$namekey = $field->field_namekey;
						if(isset($product->$namekey))
							$orderProduct->$namekey = $product->$namekey;
					}
				}
to:
if(!empty($cart->item_fields)) {

					foreach($cart->item_fields as $field) {
						$namekey = $field->field_namekey;
						if(isset($product->$namekey))
							$orderProduct->$namekey = $product->$namekey;
					}
				}
in the file plugins/hikashoppayment/paypalexpress/paypalexpress.php and that should fix the problem.

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

  • Posts: 93
  • Thank you received: 1
6 years 2 months ago #288114

Hello, today I have again received a payment via Paypal express.
Although I changed the file, the data was missing.

Best regards

Attachments:

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

  • Posts: 93
  • Thank you received: 1
6 years 2 months ago #288115

Hello,

Maybe error list help:

administrator/components/com_hikashop/classes/currency.php on line 2545

plugins/hikashoppayment/paypalexpress/paypalexpress.php on line 373" while reading response header from upstream

Best regards

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

  • Posts: 12953
  • Thank you received: 1778
6 years 2 months ago #288153

Hello,

Can you download the last Hikashop version through ou website, install it and test it again ?

Thank you.

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

  • Posts: 93
  • Thank you received: 1
6 years 2 months ago #288190

Hello,

yes i will check.

Best regards

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

Time to create page: 0.089 seconds
Powered by Kunena Forum