[Skip to main content](#vessel-content)

#   Checkout questions

##

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 4 months ago [\#20965](#20965) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  *[Checkout questions](/forum/4-how-to/20965-checkout-questions#20965 "Hello Everyone.  I am having some truble fiquring out a couple of questions..  First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu. My question, is it possible?  Second, in my country we must use different type of credit card payment then those who exsits. My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?  Thank you in advance.")* was created by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")*

Hello Everyone.

I am having some truble fiquring out a couple of questions..

First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu.
My question, is it possible?

Second, in my country we must use different type of credit card payment then those who exsits.
My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?

Thank you in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIwOTY1LWNoZWNrb3V0LXF1ZXN0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#20976](#20976) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout questions](/forum/4-how-to/20965-checkout-questions#20976 "Hello Everyone.  I am having some truble fiquring out a couple of questions..  First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu. My question, is it possible?  Second, in my country we must use different type of credit card payment then those who exsits. My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?  Thank you in advance.")*

Hi,

1. In the Business edition of HikaShop, you can restrict custom fields based on the group of the user, so you could change the fields of the address/order based on the group of the user. Then, if you want to change other things, you would have to edit the code of the views...

2. Everything can be modified in HikaShop, so I suppose yes. But you didn't give much details on your needs so I can't give more details on that either.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIwOTY1LWNoZWNrb3V0LXF1ZXN0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 4 months ago [\#21006](#21006) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Checkout questions](/forum/4-how-to/20965-checkout-questions#21006 "Hello Everyone.  I am having some truble fiquring out a couple of questions..  First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu. My question, is it possible?  Second, in my country we must use different type of credit card payment then those who exsits. My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?  Thank you in advance.")*

thank you for reply.

1. Yes, I own the business edition and i did notice that, but when a manager want to add an order for one of his customers means he cannot be logged in as a manager because he must create a new account for the new customer. Means i cannot use the group of users because basicly they are the same. That's why I said to put it somewhere invisible. I guess i do need to modify some things, but its getting to complicated so i will put it aside for now.

2. Good, I need to use an iFrame and take the params like username,currency,cart sum and more..
Now I have done some changes and i managed to transfer all of that but the cart information. (Description and sum).

I modified the checkout/payment view to iFrame but i cant get the cart info there, is there anyway to load the cart info to that page so i can use it there?

Thanks again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIwOTY1LWNoZWNrb3V0LXF1ZXN0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#21010](#21010) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout questions](/forum/4-how-to/20965-checkout-questions#21010 "Hello Everyone.  I am having some truble fiquring out a couple of questions..  First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu. My question, is it possible?  Second, in my country we must use different type of credit card payment then those who exsits. My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?  Thank you in advance.")*

2. You didn't give much details on your needs so I can't give more details on that. Please explain what modifications you made, what is your checkout workflow, what is the URL you're using to display the iframe, etc.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIwOTY1LWNoZWNrb3V0LXF1ZXN0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 4 months ago -  15 years 4 months ago [\#21025](#21025) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Checkout questions](/forum/4-how-to/20965-checkout-questions#21025 "Hello Everyone.  I am having some truble fiquring out a couple of questions..  First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu. My question, is it possible?  Second, in my country we must use different type of credit card payment then those who exsits. My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?  Thank you in advance.")*

So this is the part that i changed, i used some functions to get Joomla and hikashop info into the iframe.

You can elso check it out here: [ ](https://www.4u2.co.il/index.php/en/?ctrl=checkout)[ www.4u2.co.il/index.php/en/?ctrl=checkout](https://www.4u2.co.il/index.php/en/?ctrl=checkout).
By clicking the Credit card the iFrame opens, now i need to pass (for now) those parameters:

TerminalNumber - Const.
languages - $lang.
Description - cart description.
DealIdentityCode - This is a problem, it is getting the order ID which is not set by now, so i might need to move it to the end or something like that..
Sum - cart sum.
currency - $cur.
UserName - $user.
invCreateInvoice - Const.

> &lt;table width="100%"&gt;
> &lt;?php if(!empty($method-&gt;ask\_owner)){ ?&gt;
> &lt;tr&gt;
> &lt;?php
> $user =&amp; JFactory::getUser();
> $user = $user-&gt;username;
> $cur = 2;
> $lang = &amp; JFactory::getLanguage();
> $lang = substr($lang-&gt;getTag(), 0, -3);
> if(hikashop\_getCurrency() == 78){
> $cur = 1;}
> ?&gt;
>
> &lt;td style="text-align:right"&gt;
> &lt;label for="hikashop\_credit\_card\_owner\_&lt;?php echo $method-&gt;payment\_type.'\_'.$method-&gt;payment\_id;?&gt;"&gt;&lt;iframe src="[ secure.cardcom.co.il/External/ExternalCl...mber=1000&amp;languages=](https://secure.cardcom.co.il/External/ExternalClearingPage.aspx?TerminalNumber=1000&languages=)&lt;?php echo $lang; ?&gt;&amp;Description=try
> &amp;DealIdentityCode=12345&amp;Sum=5&amp;currency=&lt;?php echo $cur; ?&gt;&amp;UserName=&lt;?php echo $user; ?&gt;&amp;invCreateInvoice=1" width="100%" height="1000"&gt;
> &lt;p&gt;ERROR: Your browser does not support iframes.&lt;/p&gt;
> &lt;/iframe&gt;
> &lt;/label&gt;
> &lt;/td&gt;
> &lt;/tr&gt;
> ....

I need to know how do i get the cart info to this page

EDIT: Ok so i found a better solution (hopefully simpler):

use the exist credit card and use the form action to submit the url to the pretty much the same as the iframe (getting same params plus credit card number owner etc..), now i noticed the step form is at checkout/step and is generated automatically so i need to say if it is the first step and credit card is checked then action to my URL i think i can manage to redirect after the transition is over to step 2 URL.
Problem is i dont know how to modify it to action my url when the conditions are true, any ideas?
Thanks ![:)](/media/kunena/emoticons/3.png ":)")

Last edit: 15 years 4 months ago by [bars92](/forum/user/3048-bars92 "View bars92's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIwOTY1LWNoZWNrb3V0LXF1ZXN0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#21053](#21053) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout questions](/forum/4-how-to/20965-checkout-questions#21053 "Hello Everyone.  I am having some truble fiquring out a couple of questions..  First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu. My question, is it possible?  Second, in my country we must use different type of credit card payment then those who exsits. My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?  Thank you in advance.")*

You could use the redirect function of joomla:

$app=&amp; JFactory::getApplication();
$app-&gt;redirect('URL');

That redirects automatically the user to the URL you want.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIwOTY1LWNoZWNrb3V0LXF1ZXN0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 4 months ago [\#21056](#21056) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Checkout questions](/forum/4-how-to/20965-checkout-questions#21056 "Hello Everyone.  I am having some truble fiquring out a couple of questions..  First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu. My question, is it possible?  Second, in my country we must use different type of credit card payment then those who exsits. My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?  Thank you in advance.")*

Ok thats good, but how do i action the form to when clicked on the next button if credit card is select go to URL 1 else go to URL 2?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIwOTY1LWNoZWNrb3V0LXF1ZXN0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#21070](#21070) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout questions](/forum/4-how-to/20965-checkout-questions#21070 "Hello Everyone.  I am having some truble fiquring out a couple of questions..  First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu. My question, is it possible?  Second, in my country we must use different type of credit card payment then those who exsits. My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?  Thank you in advance.")*

You already edited the file step of the view checkout. There, at the end, you have the next button defined. In that code, you have some javascript code which is called when the button is pressed in order to check the form and submit it. You could just change the javascript there in order to do what you want.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIwOTY1LWNoZWNrb3V0LXF1ZXN0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 4 months ago [\#21099](#21099) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Checkout questions](/forum/4-how-to/20965-checkout-questions#21099 "Hello Everyone.  I am having some truble fiquring out a couple of questions..  First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu. My question, is it possible?  Second, in my country we must use different type of credit card payment then those who exsits. My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?  Thank you in advance.")*

I could not find the Javascript code u mentioned..
I elso looked at the developer API and i noticed the function *onAfterOrderConfirm(&amp;$order,&amp;$methods,$method\_id)*.
I tried to redirect from there but the header() function doesn't work from there when credit card payment is selected and the next button is clicked. How can i redirect to that URL i need when i only need it when credit card payment is selected?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIwOTY1LWNoZWNrb3V0LXF1ZXN0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#21106](#21106) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout questions](/forum/4-how-to/20965-checkout-questions#21106 "Hello Everyone.  I am having some truble fiquring out a couple of questions..  First, I want to make 2 checkouts, one for administrator checkout (with more filds) and have the normal checkout.. Lets say the admin checkout is assigned to an invisible memu. My question, is it possible?  Second, in my country we must use different type of credit card payment then those who exsits. My question is, can I modify credit card payment style to add a website iframe (:with params from Hikashop) that makes the transition for me and will Hikashop know a transition has made?  Thank you in advance.")*

The code of the next button in the file step of the checkout view is:
echo $this-&gt;cart-&gt;displayButton(JText::_('HIKA_NEXT'),'next',$this-&gt;params,hikashop_completeLink('checkout&amp;task=step&amp;step='.$this-&gt;step+1),'if(hikashopCheckChangeForm(\'order\',\'hikashop_checkout_form\')){ document.getElementById(\'hikashop_validate\').value=1; document.forms[\'hikashop_checkout_form\'].submit();} return false;','id="hikashop_checkout_next_button"');

There, you have the javascript:
if(hikashopCheckChangeForm(\'order\',\'hikashop_checkout_form\')){ document.getElementById(\'hikashop_validate\').value=1; document.forms[\'hikashop_checkout_form\'].submit();} return false;

That's what is submitting the form when you click on the next button.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIwOTY1LWNoZWNrb3V0LXF1ZXN0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.098 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
