Checkout Workflow

  • Posts: 58
  • Thank you received: 2
6 years 3 months ago #286249

-- url of the page with the problem -- : www.litterpicks.com
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3

We are trying to allow checkout without shipping or payment. Our hope is once a vendor approves the buyer's purchase, they can change the order status to "created" to "confirmed" and the shopper can pay from their user cpanel.

We've read a few threads in support ( www.hikashop.com/forum/4-how-to/34945-sh...nt-and-shipping.html ) which state we just need to delete the shipping and payment blocks from the Checkout workflow.

We have done that (as shown in the attached screenshot) and have cleared cache and browser. Our issue is that after the shopper agrees to the "terms and conditions" and hits the "Finish" button, it still takes them to PayPal for payment (which is our only payment plugin).

Are we missing something?? "Payment of orders not paid immediately" is set to "yes". Do we need another payment plugin enabled other than Paypal adaptive?

Attachments:

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
6 years 3 months ago #286300

Hi,

Well, when the cart is loaded, the payment method is automatically selected if any is available. It takes the first one automatically.
So what you can do is create a "collect on delivery" payment method and set its ordering lower that PayPal adaptive so that it can be auto selected.
Then, you can either change the payment method in the backend or allo the customer to select the payment method himself with the "Allow customers to change
their payment method after checkout" setting of the HikaShop configuration.

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

  • Posts: 58
  • Thank you received: 2
6 years 3 months ago #286329

Thanks Nicolas. It would be great if there was an option to just submit the order for review by the vendor prior to giving the customer a chance to pay.

But we've tried what you suggested of adding a payment option of "Pay on Delivery" and we've renamed it "Submit Application for Approval". Here are the problems we have:
1) That payment option does not default for all our vendors. When looking at the Payment Plugin, we have to select one breeder under the "Vendor Options". Looks like the only choices are "None" or just one vendor. There is no "All" choice. So would we have to create a separate Pay on Delivery for each vendor? That's not a good option

2) When a customer is in the shopping cart, they see both options of "Submit Application" and "PayPal". Is there a way to hide the "PayPal" option in the cart? We don't want them to be able to pay until the vendor has approved their application. We are attaching screenshot showing this.

3) Once a vendor approves the application, the customer can log in to their account to pay. But now they have both options. They can pay using PayPal or they can use the pay on delivery option (which we don't want). We only want them to be able to pay via PayPal. We've shown a screenshot of this as well.

Thanks for any direction you can give. We just want a customer to be able to submit the application for approval from checkout, allow the vendor to approve it, then the customer can pay via PayPal.

Attachments:

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
6 years 3 months ago #286348

Hi,

1. It's a vendor restriction. If you select "none", it means no vendor restriction and thus it applies to all the vendors.

2. That won't be the case if you remove the "payment" view form the "checkout workflow" as you said you had in your first message.

3. You would have to edit the file "pay" of the view "order" via the menu Display>Views and add such code at the begining:

<?php
$this->order->order_payment_method->order_payment_method = 'paypal';
$this->order->order_payment_method->order_payment_id= XXX;
?>
where XXX is the id of your payment method in the menu System>Payment methods.

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

  • Posts: 58
  • Thank you received: 2
6 years 3 months ago #286406

Thanks Nicolas. Couple of issues:

1. We checked the "collect on delivery" payment option and it appears to us the the Vendor option is not a restriction, but a permission. We've tried with "none" and the collect on deliver option does not show up on the shopping cart. But if we select one particular vendor, it does show up when a customer tries to purchase from that particular vendor. Is there a different "collect on delivery" plugin we should be using? Think we only saw one option. I'm attaching screenshot of what we see.

2. Yes, that solved the payment options showing up

3. We added your suggested code to the view "Pay" in the "Order" with our template and added the ID 10158, which is the ID of our PayPal adaptive plugin. We cleared the cache and the browser history but still see the payment drop down showing when the customer views their order from their customer portal. Any other suggestions?

Attachments:

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
6 years 3 months ago #286408

Hi,

1. Then it probably means that you have the "Show only vendor payments" setting activated in your HikaMarket configuration page.

3. That change won't remove the dropdown. However, it will preselect PayPal in it instead of collect on delivery so you can tehn hide it in CSS if you don't want to display it and when the customer click on the pay button, it will use PayPal.
Note however that I doubt that the id of your PayPal payment METHOD (in the menu System>Payment methods) is 10158. It must be the id of the plugin, not the id of the payment method as I asked you to use in my previous message.

Last edit: 6 years 3 months ago by nicolas.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum