Pause Workflow between Order Creation and Payment

  • Posts: 33
  • Thank you received: 0
11 years 9 months ago #118373

-- url of the page with the problem -- : slappa.com.au
-- HikaShop version -- : 2.1.1
-- Joomla version -- : 2.5.9
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : Firefox 16.0.2

I would like to pause on order creation, customer to verify or if they have an issue with shipping they can contact us. Then I can modify the shipping cost of the order and individual can continue, or if they agree to the shipping they just proceed without any manual changes.

I have modified the workflow, but until it sends to PayPal it does not change the shopping cart to an order.

Thanks,
Richard

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
11 years 9 months ago #118407

Yes the order is created just before redirecting the user to paypal.
All I can propose you is to remove the code:
document.getElementById('hikashop_paypal_form').submit();
in the file plugins/hikashoppayment/paypal/paypal_end.php
That way, the user will have to click himself on the button to go to paypal. You can also customize that file if you want to display data (from $this->vars) or the messages.
Finally, if you don't want to loose your changes in that file, copy the modified file to templates/YOUR_TEMPLATE/hikashoppayment/paypal_end.php and that file won't be overwritten when you update HikaShop.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum