PayPal Checkout buttons only appear on order confirmation page, not on payment p

  • Posts: 5
  • Thank you received: 0
  • Hikashop Business
15 hours 10 minutes ago #372028

-- HikaShop version -- : 6.4.1
-- Joomla version -- : 3.10.2
-- PHP version -- : 7.4.33

Hello,
I am using the latest version of HikaShop with the PayPal Checkout plugin.
I want the PayPal Smart Buttons to appear directly on the payment checkout page. However, they do not load there at all. When the customer is on the payment step, they only see the radio button and the payment description. The actual PayPal buttons only appear later, on the final order confirmation page.
My checkout workflow has the Cart and Payment blocks configured together, but the buttons still refuse to render on the payment page.
Could you please help me figure out how to make the PayPal buttons load directly on the payment step instead of the confirmation page?
Thank you!

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

  • Posts: 85617
  • Thank you received: 14037
  • MODERATOR
10 hours 49 minutes ago #372033

Hi,

The buttons are supposed to be displayed at the end of the checkout, once the order is created, not before. Otherwise, the user could pay for his cart while his cart could potentially be changed after this, before the order is created.

The "payment" block is for the selection of payment methods, which you can configure by creating payment methods based on different payment plugins in System>Payment methods. The payment block mechanism has no visibility and no control on the buttons displayed by the PayPal Checkout plugin.

So, unfortunately, I don't see a way to do what you want.

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

  • Posts: 5
  • Thank you received: 0
  • Hikashop Business
1 hour 36 minutes ago #372039

Hi,

Thank you for the clarification.

I understand that the current PayPal Checkout plugin is designed to display the buttons only after the HikaShop order is created, and that the payment block itself is only for selecting the payment method.

Given that, I would like to ask about the best technical approach if we need a custom plugin that follows this flow:

1. Show the PayPal Smart Buttons directly on the payment step.
2. Let the customer approve the payment in the PayPal modal on the same page.
3. Create the HikaShop order only after PayPal approval.
4. Redirect the customer to the standard confirmation / after_end page once payment is completed.

My main concern is stability and security. I want to avoid creating the order too early, but I also do not want the checkout page to become slow or fragile.

Could you please confirm which approach would be the most appropriate for this kind of custom implementation?

- Should the plugin create a temporary checkout session or cart snapshot before calling PayPal?
- Is there a recommended HikaShop hook for rendering the PayPal buttons inside the payment step?
- Would it be acceptable to create the HikaShop order only in the PayPal return / approval callback?
- Are there any built-in mechanisms in HikaShop that would help with this flow, or would this require a fully custom plugin and custom checkout handling?

If you have any guidance on the safest architecture for this, I would really appreciate it.

Thank you.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum