Skip Authorize checkout step

  • Posts: 162
  • Thank you received: 0
10 years 3 months ago #190466

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.2.4

Hi,

is it possible to skip this step. Please see attachment.

thanks!

Attachments:
Last edit: 10 years 3 months ago by info@vesica.org.

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

  • Posts: 12953
  • Thank you received: 1778
10 years 3 months ago #190497

Hello,
That's actually not possible, the only solution will be to directly edit the Hikashop code which will require development skills.

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

  • Posts: 162
  • Thank you received: 0
10 years 3 months ago #191429

Hi,

which needs to be done by changing code in core files? I mean is not possible to do it only from template overrides?

thanks!

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

  • Posts: 13201
  • Thank you received: 2322
10 years 3 months ago #191440

Hi,

Could you give us more details about what you really want ?
If the customer don't fill the card informations here, when do you want to display these fields ?

You can potentially use another payment method, one linked to a bank in order to fill the informations on a specific page.
But editing the code to move these fields is not recommended.

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

  • Posts: 162
  • Thank you received: 0
10 years 3 months ago #191765

Hi,

I don't want to move the fields or skip the page. After the user is typing all the required data in the fields, instead of moving to next page after he click's on the checkout button, the same page is displayed showing the data typed in the input fields. What we need and want, is after the user is typing all credit card data in the input fields and it's clicking on the "Next" button to be redirected to next page instead being presented with the same page which show's data typed in the credit card fields. We want to do this via template overrides if there isn't a setting in the back-end, if possible.

thanks!

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

  • Posts: 162
  • Thank you received: 0
10 years 2 months ago #192222

Hi,

any news on this one?

thanks!

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

  • Posts: 26235
  • Thank you received: 4036
  • MODERATOR
10 years 2 months ago #193199

Hi,

In the HikaShop controller (components/com_hikashop/controllers/checkout.php) you will find a function " _readPayment ".
This function read the payment data and it also read the CC data.

if(!empty($paymentData->ask_cc)){
	$paymentClass = hikashop_get('class.payment');
	if(!$paymentClass->readCC()){
		return false;
	}
}
If the readCC return that a Credit Card has been fill, the function return false (so it does not authorize the checkout to go further).
You have to remove this return if you want to let your HikaShop continue.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.111 seconds
Powered by Kunena Forum