Finish button and PayPal button clash

  • Posts: 47
  • Thank you received: 0
8 years 1 week ago #255545

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.6.27
-- Browser(s) name and version -- : Chrome 54.0.2840.87

My checkout workflow is cart_fields_confirm,end.
My payment method is Paypal Express Checkout.
I am using PayPal Sandbox.

After clicking 'Add to cart'.
I get a screen where I see (in order):
- the product
- a PayPal Check out button
- the 'order' custom field
- a 'Finish' button.

If I click on the Paypal Check out button, it:
- sends me to Paypal and completes the transaction
- then takes me back to the website saying 'Thank you for your purchase'
- creates a 'confirmed' status order in the backend but the 'order' custom fields are empty
- sends email notifications to the buyer (no 'order' custom fields)

If I don't click on the PayPal Check out button but instead click on the 'Finish' button, it:
- goes straight to the website page saying 'Thank you for your purchase'
- creates a 'created' status order in the backend with the 'order' custom field entries recorded.
- sends email notifications to the buyer with the 'order' custom field entries.

How can I configure it so that only one button is operable at any one time?
How can I configure it so that one button creates a 'confirmed' order through PayPal Express Checkout with field entries recorded?

Thank you for your time.

EDIT:
Thank you Philip for your answer.
I don't have php knowledge so I changed back to HikaShop Paypal payment plugin.
I removed the order fields. I changed the checkout workflow to cart,payment_confirm,end.
I still have the problem that on the payment screen there is a paypal button and a finish button.
Choosing the paypal button results in a confirmed order with no details of item fields or variants.
Choosing the finish button results in a created order with all the item field and variant details.

What am I doing wrong?

EDIT:
I'm not quite sure what changes I made but the paypal button (though it has a hand cursor) no longer does anything if you click on it.
So the only option is the finish button. Clicking this results in a confirmed order with all the details.
I do, however, have to click on the finish button twice. Any idea why it does that?
Also, can I stop the cursor over the paypal button from being a hand?

Thank you for your help

EDIT:
Even though the Paypal express checkout plugin was not published, it was causing the problem of the finish button having to be clicked twice.
I deleted the Paypal Express Checkout plugin and that problem was solved.
So the remaining problem is how not to change the cursor when hovering over the paypal button.

Any ideas?

EDIT: The problem has returned - The finish button is again having to be clicked twice i.e the payment screen is appearing twice.
As the subject of this topic is no longer relevant, I will start a new topic.

Last edit: 8 years 1 week ago by jefit. Reason: Problem returned

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
8 years 1 week ago #255601

Hello,

There maybe some possibility to custom your paypal express in order to add your order custom field, but in some case if there is several custom field, or specific content maybe that can be impossible... that's why we didn't add this features because for some needs that can work but for other not!

If you have some php knowledge, you can use this paypal tutorial (look for : PAYMENTREQUEST_n_CUSTOM) in order to add this feature.
Or you can contact one of our partner to custom code your paypalexpress.php.

Sorry for this answer

Regards

Last edit: 8 years 1 week ago by Philip.

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
8 years 6 days ago #255733

Hello,
Ok for the new topic, but please DO NOT EDIT your previous message, instead post a reply in the topic please.
Note that you can use this option "Auto submit shipping and payment methods selection", in order to avoid to have to push "Finish" button twice.
You will find this option :
- In Components => HikaShop => Configuration
- Then in Checkout tab, and in Shipping & Payment part



That may solve your "double clicked" issue.

Regards

Attachments:
Last edit: 8 years 6 days ago by Philip.

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

  • Posts: 47
  • Thank you received: 0
8 years 6 days ago #255758

Sorry, some Forums like you to edit.
I already have the auto submit as 'Yes'. So that's not the answer.
Thanks

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
8 years 6 days ago #255760

Hello,

Can you provide some Url link in order to process some test about this "double clicked" issue, please ?
If needed, provide some customer references in our Contact us form (add an url link to this topic in your message)

Awaiting news from you.

Regards

Last edit: 8 years 6 days ago by Philip.

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

  • Posts: 47
  • Thank you received: 0
8 years 6 days ago #255811

Please start at this product:
https://theretis.com.au/index.php/hikashop-menu-for-categories-listing/category/13-aquatic
and progress through to the checkout.
It is the 'next' button on the payment screen (step 2) that needs to be clicked on twice to proceed to the Terms & Conditions screen.

Appreciate your help.

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
8 years 5 days ago #255825

Hello,

I'm unable to reproduce your issue on your website... I have to click only one time to reach terms & condition...
I don't know what I can say from this.
Can you process some tests again ?
I noticed that the only payment method is, as expecting auto selected and everything seems right from my point of view...

Regards

Last edit: 8 years 5 days ago by Philip.

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

Time to create page: 0.095 seconds
Powered by Kunena Forum