[Skip to main content](#vessel-content)

#   PayPal Checkout Button

##

- **[davec](/forum/user/7092-davec "View davec's Profile")**
- [![davec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7092-davec "View davec's Profile") Topic Author
- [ Offline](/forum/user/7092-davec)

Less More

- Posts: 447
- Thank you received: 20
-
-

5 years 1 month ago [\#336390](#336390) by [davec](/forum/user/7092-davec "View davec's Profile")  *[PayPal Checkout Button](/forum/29-payment-methods/903332-paypal-checkout-button#336390 "-- HikaShop version -- : 4.4.3  Hi  I am in the process of activating PayPal Express Checkout on a site. I have a couple of queries.  Firstly the position of the button on the page. It sits outside of the other payment options as per screenshot. I expect there is a logical reason for this?  Secondly I have had the button which uses CSS rather than images. I would appreciate some guidance on how this might be implemented long term. Short term changing the coding in the payment plugin will help but of course every time there is an update I would have to reload/edit the file.  Thanks  David")* was created by *[davec](/forum/user/7092-davec "View davec's Profile")*

-- HikaShop version -- : 4.4.3

Hi

I am in the process of activating PayPal Express Checkout on a site. I have a couple of queries.

Firstly the position of the button on the page. It sits outside of the other payment options as per screenshot. I expect there is a logical reason for this?

Secondly I have had [ instructions for changing](https://developer.paypal.com/demo/checkout/#/pattern/horizontal) the button which uses CSS rather than images. I would appreciate some guidance on how this might be implemented long term. Short term changing the coding in the payment plugin will help but of course every time there is an update I would have to reload/edit the file.

Thanks

David

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDMzMzItcGF5cGFsLWNoZWNrb3V0LWJ1dHRvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 1 month ago -  5 years 1 month ago [\#336398](#336398) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[PayPal Checkout Button](/forum/29-payment-methods/903332-paypal-checkout-button#336398 "-- HikaShop version -- : 4.4.3  Hi  I am in the process of activating PayPal Express Checkout on a site. I have a couple of queries.  Firstly the position of the button on the page. It sits outside of the other payment options as per screenshot. I expect there is a logical reason for this?  Secondly I have had the button which uses CSS rather than images. I would appreciate some guidance on how this might be implemented long term. Short term changing the coding in the payment plugin will help but of course every time there is an update I would have to reload/edit the file.  Thanks  David")*

Hello,

The fact that the paypal button isn't be displayed exactly in the same place as the other payment methods and voluntary because the process is totally different compared to other payment methods.
Now, you have this code in the **paypalexpress.php** file :
[ ![alt](https://i.ibb.co/BLX5Thq/paypal-express-code.png) ](https://i.ibb.co/BLX5Thq/paypal-express-code.png "alt")

As you can see the paypal express button can be directly edited in the ***YourWebsite*\\plugins\\hikashoppayment** folder, and the **paypalexpress.php**

Hope this will help you to progress on your subject.
Regards

Last edit: 5 years 1 month ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDMzMzItcGF5cGFsLWNoZWNrb3V0LWJ1dHRvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[davec](/forum/user/7092-davec "View davec's Profile")**
- [![davec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7092-davec "View davec's Profile") Topic Author
- [ Offline](/forum/user/7092-davec)

Less More

- Posts: 447
- Thank you received: 20
-
-

5 years 1 month ago [\#336427](#336427) by [davec](/forum/user/7092-davec "View davec's Profile")  Replied by *[davec](/forum/user/7092-davec "View davec's Profile")* on topic *[PayPal Checkout Button](/forum/29-payment-methods/903332-paypal-checkout-button#336427 "-- HikaShop version -- : 4.4.3  Hi  I am in the process of activating PayPal Express Checkout on a site. I have a couple of queries.  Firstly the position of the button on the page. It sits outside of the other payment options as per screenshot. I expect there is a logical reason for this?  Secondly I have had the button which uses CSS rather than images. I would appreciate some guidance on how this might be implemented long term. Short term changing the coding in the payment plugin will help but of course every time there is an update I would have to reload/edit the file.  Thanks  David")*

Hi Philip

I have made changes in paypalexpress.php to the button img src and loaded the button locally.

Now in the dropdown when people go to pay an outstanding order the text shows as paypalexpress although I have called it PayPa Checkout in the plugins name field. Not sure why this hasn't updated? Your help appreciated?

Thanks

David

- [ ![screenshot-2021.10.20-17&#95;34&#95;14.png](/forum/attachment/53712) ](/forum/attachment/53712 "...0-17&#95;34&#95;14.png") [ ](/forum/attachment/53712?download=1 "...0-17&#95;34&#95;14.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDMzMzItcGF5cGFsLWNoZWNrb3V0LWJ1dHRvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86592
- Thank you received: 14334
-
-

5 years 1 month ago [\#336428](#336428) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PayPal Checkout Button](/forum/29-payment-methods/903332-paypal-checkout-button#336428 "-- HikaShop version -- : 4.4.3  Hi  I am in the process of activating PayPal Express Checkout on a site. I have a couple of queries.  Firstly the position of the button on the page. It sits outside of the other payment options as per screenshot. I expect there is a logical reason for this?  Secondly I have had the button which uses CSS rather than images. I would appreciate some guidance on how this might be implemented long term. Short term changing the coding in the payment plugin will help but of course every time there is an update I would have to reload/edit the file.  Thanks  David")*

Hi,

The goal of the PayPal express checkout payment method is to skip your checkout. When you click on the button, you get redirected to PayPal's checkout screen, pay for your purchase, and only then is the order created and confirmed.
That's also why it doesn't appear with the other payment methods since its goal is precisely to skip your checkout.
Similarly, having to pay an already created order with PayPal express checkout should not happen as the orders made with it will be already paid and the others shouldn't have the payment method listed on that payment page.
The fact that it doesn't display the name of the payment method but its folder name is because the payment method selected for the order is not among the ones loaded as valid payment methods, but since it was set before in the order is still displays it in the dropdown as to not change the selected payment method for the order. But because of that it doesn't have access to the name.
But again, that situation should normally not happen. I suppose you must have either created the order in the backend or changed the payment method of an order to this one to get it listed there.
However, reading your first message, it seems that you want to use PayPal as a normal payment method, where the customer goes through your checkout and can select it among all the available payment methods. In that case, you probably don't want to use PayPal Express Checkout but another PayPal plugin like PayPal standard, or PayPal Advanced.

The following user(s) said Thank You: [davec](/forum/user/7092-davec "View davec's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDMzMzItcGF5cGFsLWNoZWNrb3V0LWJ1dHRvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[davec](/forum/user/7092-davec "View davec's Profile")**
- [![davec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7092-davec "View davec's Profile") Topic Author
- [ Offline](/forum/user/7092-davec)

Less More

- Posts: 447
- Thank you received: 20
-
-

5 years 1 month ago [\#336431](#336431) by [davec](/forum/user/7092-davec "View davec's Profile")  Replied by *[davec](/forum/user/7092-davec "View davec's Profile")* on topic *[PayPal Checkout Button](/forum/29-payment-methods/903332-paypal-checkout-button#336431 "-- HikaShop version -- : 4.4.3  Hi  I am in the process of activating PayPal Express Checkout on a site. I have a couple of queries.  Firstly the position of the button on the page. It sits outside of the other payment options as per screenshot. I expect there is a logical reason for this?  Secondly I have had the button which uses CSS rather than images. I would appreciate some guidance on how this might be implemented long term. Short term changing the coding in the payment plugin will help but of course every time there is an update I would have to reload/edit the file.  Thanks  David")*

Hi Nicolas

You are correct that the customer wanted to use PayPal Checkout on the site and for also use it for orders created manually. Appreciate the clarification.

Thanks

David

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDMzMzItcGF5cGFsLWNoZWNrb3V0LWJ1dHRvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
