Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
$hikashop_url = "http://worsleyinstitute.com/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=pay2co&tmpl=component";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $hikashop_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
$output = curl_exec($ch);
$info = curl_getinfo($ch);
curl_close($ch);
Please Log in to join the conversation.
mozgras wrote: I added this code to line 111 of cbpaidsubscriptions.twocheckout:
$hikashop_url = "http://worsleyinstitute.com/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=pay2co&tmpl=component"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $hikashop_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata); $output = curl_exec($ch); $info = curl_getinfo($ch); curl_close($ch);
This simply passes $postdata to the hikashop ipn url. Looks like it's working!
Please Log in to join the conversation.
Please Log in to join the conversation.