- Posts: 10
- Thank you received: 0
Ogone
10 years 9 months ago #222918
by guugle
-- 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?
-- 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.
10 years 9 months ago #222936
by nicolas
Hi,
You can edit the file plugins/hikashoppayment/ogone/ogone.php and add it in there:
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.
You can edit the file plugins/hikashoppayment/ogone/ogone.php and add it in there:
Code:
$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,
);
Please Log in or Create an account to join the conversation.
10 years 9 months ago #223298
by guugle
</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.
<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.
10 years 9 months ago #223309
by nicolas
Hi,
In that case, you can add the line:
in the file plugins/hikashoppayment/ogone/ogone.php after the code I gave in my previous message.
In that case, you can add the line:
Code:
$vars['TP'] = 'http.................../paymentzone.html';
Please Log in or Create an account to join the conversation.
Time to create page: 0.156 seconds