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

#   Error with PayPal checkout plugin

##

- **[designer71](/forum/user/39268-designer71 "View designer71's Profile")**
- [![designer71's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/39268-designer71 "View designer71's Profile") Topic Author
- [ Offline](/forum/user/39268-designer71)

Less More

- Posts: 78
- Thank you received: 4
-
-

2 weeks 6 days ago [\#100000087](#100000087) by [designer71](/forum/user/39268-designer71 "View designer71's Profile")  *[Error with PayPal checkout plugin](/forum/29-payment-methods/100000021-error-with-paypal-checkout-plugin#100000087 "-- HikaShop version -- : 6.6.0 -- Joomla version -- : 6.1.4 -- PHP version -- : 8.3 -- Browser(s) name and version -- : Chrome 154.0  Hi!  I get  few errors then I use PayPal checkout: button pay by credit cart not displayed, only pay by PayPal. If I click by cancel - I get error:  I attach video in zip file and 2 screenshot. Thank you.")* was created by *[designer71](/forum/user/39268-designer71 "View designer71's Profile")*

-- HikaShop version -- : 6.6.0
-- Joomla version -- : 6.1.4
-- PHP version -- : 8.3
-- Browser(s) name and version -- : Chrome 154.0

Hi! 
I get  few errors then I use PayPal checkout:
button pay by credit cart not displayed, only pay by PayPal.
If I click by cancel - I get error:
0

Attempt to assign property "payment\_params" on null

[ ](https://miperly.com/index.php)

I attach video in zip file and 2 screenshot.
Thank you.

- [ ![h3.jpg](/forum/attachment/100000014) ](/forum/attachment/100000014 "h3.jpg") [ ](/forum/attachment/100000014?download=1 "h3.jpg")
- [ ![h1.jpg](/forum/attachment/100000015) ](/forum/attachment/100000015 "h1.jpg") [ ](/forum/attachment/100000015?download=1 "h1.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy8xMDAwMDAwMjEtZXJyb3Itd2l0aC1wYXlwYWwtY2hlY2tvdXQtcGx1Z2luP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

2 weeks 6 days ago [\#100000091](#100000091) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error with PayPal checkout plugin](/forum/29-payment-methods/100000021-error-with-paypal-checkout-plugin#100000091 "-- HikaShop version -- : 6.6.0 -- Joomla version -- : 6.1.4 -- PHP version -- : 8.3 -- Browser(s) name and version -- : Chrome 154.0  Hi!  I get  few errors then I use PayPal checkout: button pay by credit cart not displayed, only pay by PayPal. If I click by cancel - I get error:  I attach video in zip file and 2 screenshot. Thank you.")*

Hi Boris,

Thanks for the video and screenshots, they make both points clear.

Card payments: your PayPal Checkout settings show nothing under "Accept credit card payments". This means PayPal has not enabled Advanced Credit and Debit Card payments on your PayPal account (it is only available in some countries), so the plugin cannot show its own card form. Card payment is still possible through PayPal: as your video shows, the PayPal window offers "Pay with Credit Card". If you want a separate "Debit or Credit Card" button under the PayPal button, change "Button layout" from "Horizontal" to "Vertical" in the PayPal Checkout payment method: the horizontal layout displays at most two buttons, and PayPal then only shows its PayPal button. With the vertical layout, PayPal adds the card button when it offers it to the buyer.

The error: it happens when the customer clicks "Cancel and return to Miperly" in the PayPal window. The browser then goes to HikaShop's order cancellation link, which cancels the order and redirects to the "Cancel url" of your payment method (your home page). We tested this same sequence with the same settings on HikaShop 6.6.0 without any error, so it comes from something specific to your site: another extension (for example the translation system), a plugin or a template override. To find which one, please enable "Debug System" and set "Error Reporting" to "Maximum" in Joomla's System &gt; Global Configuration (System and Server tabs), do the cancellation again and send us a screenshot of the whole error page: it will show the file and line causing it, with the call stack. Switch both settings back afterwards.

In the meantime, you can empty the "Cancel url" and "Return url" fields of the PayPal Checkout payment method: they are not needed. Without a Cancel url, the PayPal window simply closes when the customer cancels and the customer stays on the payment page to try again or choose another payment method. This may also avoid the error, but the error page with the debug information is what will tell us its cause.

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

- **[designer71](/forum/user/39268-designer71 "View designer71's Profile")**
- [![designer71's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/39268-designer71 "View designer71's Profile") Topic Author
- [ Offline](/forum/user/39268-designer71)

Less More

- Posts: 78
- Thank you received: 4
-
-

2 weeks 5 days ago [\#100000111](#100000111) by [designer71](/forum/user/39268-designer71 "View designer71's Profile")  Replied by *[designer71](/forum/user/39268-designer71 "View designer71's Profile")* on topic *[Error with PayPal checkout plugin](/forum/29-payment-methods/100000021-error-with-paypal-checkout-plugin#100000111 "-- HikaShop version -- : 6.6.0 -- Joomla version -- : 6.1.4 -- PHP version -- : 8.3 -- Browser(s) name and version -- : Chrome 154.0  Hi!  I get  few errors then I use PayPal checkout: button pay by credit cart not displayed, only pay by PayPal. If I click by cancel - I get error:  I attach video in zip file and 2 screenshot. Thank you.")*

Hi, Nicolas!
I'm debugged site and find solution,
Now is OK.

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

- **[designer71](/forum/user/39268-designer71 "View designer71's Profile")**
- [![designer71's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/39268-designer71 "View designer71's Profile") Topic Author
- [ Offline](/forum/user/39268-designer71)

Less More

- Posts: 78
- Thank you received: 4
-
-

2 weeks 5 days ago [\#100000112](#100000112) by [designer71](/forum/user/39268-designer71 "View designer71's Profile")  Replied by *[designer71](/forum/user/39268-designer71 "View designer71's Profile")* on topic *[Error with PayPal checkout plugin](/forum/29-payment-methods/100000021-error-with-paypal-checkout-plugin#100000112 "-- HikaShop version -- : 6.6.0 -- Joomla version -- : 6.1.4 -- PHP version -- : 8.3 -- Browser(s) name and version -- : Chrome 154.0  Hi!  I get  few errors then I use PayPal checkout: button pay by credit cart not displayed, only pay by PayPal. If I click by cancel - I get error:  I attach video in zip file and 2 screenshot. Thank you.")*

Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy8xMDAwMDAwMjEtZXJyb3Itd2l0aC1wYXlwYWwtY2hlY2tvdXQtcGx1Z2luP3RtcGw9bWFya2Rvd24=) 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.259 seconds

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

[](#top)
