Paypal express

  • Posts: 81
  • Thank you received: 1
  • Hikashop Business
6 days 4 hours 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: 60537
  • Thank you received: 8532
  • MODERATOR
5 days 7 hours 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.

Time to create page: 0.066 seconds
Powered by Kunena Forum