Paypal checkout flow

  • Posts: 17
  • Thank you received: 4
  • Hikashop Business Hikashop Style
2 weeks 2 days ago #360730

-- HikaShop version -- : 5.0.4
-- Joomla version -- : 5.1.0

I am using the Paypal Checkout payment plugin. It is configured and working well with Paypal.
My question is when PayPal returns to the site the payment buttons show again then it goes to my custom thank you page.
Payment page -> Paypal -> Payment page -> thank you.

Is there a way for the return to go to a message something like, "Please wait" as the payment buttons being seen again are confusing?
I think I missed something in the configuration.
Payment page -> Paypal -> Processing message -> Thank you page.

Any help or insight into this would be appreciated.

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

  • Posts: 81677
  • Thank you received: 13102
  • MODERATOR
2 weeks 2 days ago #360732

Hi,

Before the line:

window.location.href = "<?php echo $this->notify_url; ?>&paypal_id="+details.id;
You can add the line:
document.getElementById('hikashop_paypalcheckout_end').innerHTML = '<?php echo hikashop_display(JText::_('THANK_YOU_FOR_YOUR_PURCHASE'), 'success', true); ?>';
in the file plugins/hikashoppayment/paypalcheckout/paypalcheckout_end.php

That's actually a modification that we already made on our end for the next version of HikaShop.

Last edit: 2 weeks 1 day ago by nicolas.

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

  • Posts: 17
  • Thank you received: 4
  • Hikashop Business Hikashop Style
2 weeks 1 day ago #360760

Can I take the underscores out of, THANK_YOU_FOR_YOUR_PURCHASE?
Other than that it works great!

Last edit: 2 weeks 1 day ago by GrandLodgeIL.

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

  • Posts: 81677
  • Thank you received: 13102
  • MODERATOR
2 weeks 1 day ago #360764

Hi,

You don't need to remove the underscores. I actually made a typo in the code I gave you. I've updated my previous message to fix it. It should display better with the new version of the code.

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

Time to create page: 0.066 seconds
Powered by Kunena Forum