Ogone

  • Posts: 10
  • Thank you received: 0
8 years 11 months ago #222918

-- url of the page with the problem -- : www.stuckmanufaktur.com
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5

I must convey a hidden field to Ogone to activate the dynamic template. In which file I can perform?

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 11 months ago #222936

Hi,

You can edit the file plugins/hikashoppayment/ogone/ogone.php and add it in there:

$vars = array(
			'PSPID' => $this->payment_params->pspid,
			'orderID' => @$order->order_id,
			'amount' => 100 * round(@$order->cart->full_total->prices[0]->price_value_with_tax, 2),
			'currency' => $this->currency->currency_code,
			'language' => $language,
			'EMAIL' => $this->user->user_email,
			'accepturl' => $return_url,
			'declineurl' => $cancel_url,
			'exceptionurl' => $cancel_url,
			'cancelurl' => $cancel_url,
		);
We could potentially turn it into an option of the plugin if you could provide more information on the name of that field and the possible values of the field.

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

  • Posts: 10
  • Thank you received: 0
8 years 11 months ago #223298

</div>
<input type="hidden" name="Itemid" value="1467"/>
<input type="hidden" name="option" value="com_hikashop"/>
<input type="hidden" name="ctrl" value="checkout"/>
<input type="hidden" name="task" value="step"/>
<input type="hidden" name="previous" value="0"/>
<input type="hidden" name="step" value="1"/>

<input type="hidden" name="TP" value="http.................../paymentzone.html"/>

To use the dynamic template, Ogone requires the transmission of the hidden-filds "TP", which leads to the payment zone.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 11 months ago #223309

Hi,

In that case, you can add the line:

$vars['TP'] = 'http.................../paymentzone.html';
in the file plugins/hikashoppayment/ogone/ogone.php after the code I gave in my previous message.

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

Time to create page: 0.046 seconds
Powered by Kunena Forum