Paypal Express Checkout - Transaction ID ?

  • Posts: 40
  • Thank you received: 0
10 years 3 weeks ago #177696

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 2.5.14

We're using Paypal Express Checkout and it seems to work fine. When the client clicks the button, they're sent out to Paypal for the payment of their order (which is fine) and then the order changes to a confirmed state (which is also fine). Everything is working perfectly. The issues comes from the fact that we are not able to associate that order with a payment in Paypal, no IPN is provided. Is there a way to get a transaction ID from Paypal or to associate the EC-xxxxxxxxxx (in information in the bottom of the order page) to Paypal.

This happens when clients pay with a different email address than the one used in Hikashop to login, making it impossible to figure out details of a possible paid order.

Thanks for letting me know, help is very useful. Great work Hikashop.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 3 weeks ago #177709

Hi,

Try to change the line:

$this->modifyOrder($orderid, $this->plugin_params->verified_status, true, true);

by:
$history = new stdClass();
							$history->notified = 1;
							$history->data = 'PayPal transaction id: '.$vars['PAYMENTINFO_0_TRANSACTIONID'] . "\r\n\r\n";
							$this->modifyOrder($orderid, $this->plugin_params->verified_status, $history, true);
in the file plugins/hikashoppayment/paypalexpress/paypalexpress.php and you should then get the transaction id in the history data of each new order.

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

Time to create page: 0.051 seconds
Powered by Kunena Forum