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

#   Problem with paypal

##

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

Less More

- Posts: 160
- Thank you received: 7
-
-

3 weeks 8 hours ago -  3 weeks 7 hours ago [\#100000317](#100000317) by [wrina iamwe](/forum/user/34481-wrina-iamwe "View wrina iamwe's Profile")  *[Problem with paypal](/forum/27-checkout/100000066-problem-with-paypal#100000317 "-- Browser(s) name and version -- :  Chrome 153.0  1) When I, as a customer, process an order an error is received after selecting the paypal payment option:   ERROR:: 0 Attempt to assign property  &quot;quantity&quot; on null -   Please see image: ")* was created by *[wrina iamwe](/forum/user/34481-wrina-iamwe "View wrina iamwe's Profile")*

-- Browser(s) name and version -- :  Chrome 153.0

1) When I, as a customer, process an order an error is received after selecting the paypal payment option: 

**ERROR**::
0 Attempt to assign property  "quantity" on null - 

Please see image: paypal error 3

The purchased item is a donation. there is not quantity in the paypal form

The order does go through, but, an error message is received - this is not something a customer should see. 

- [ ![paypal error 2.png](/forum/attachment/100000103) ](/forum/attachment/100000103 "...al error 2.png") [ ](/forum/attachment/100000103?download=1 "...al error 2.png")
- [ ![Paypal Error 3.png](/forum/attachment/100000104) ](/forum/attachment/100000104 "...al Error 3.png") [ ](/forum/attachment/100000104?download=1 "...al Error 3.png")

Last edit: 3 weeks 7 hours ago by [wrina iamwe](/forum/user/34481-wrina-iamwe "View wrina iamwe's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzEwMDAwMDA2Ni1wcm9ibGVtLXdpdGgtcGF5cGFsP3RtcGw9bWFya2Rvd24=) 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: 86363
- Thank you received: 14296
-
-

3 weeks 7 hours ago [\#100000321](#100000321) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem with paypal](/forum/27-checkout/100000066-problem-with-paypal#100000321 "-- Browser(s) name and version -- :  Chrome 153.0  1) When I, as a customer, process an order an error is received after selecting the paypal payment option:   ERROR:: 0 Attempt to assign property  &quot;quantity&quot; on null -   Please see image: ")*

Hi,

1) The error message is most likely not related to the donation or to PayPal. We get exactly this error from HikaSerial (your HikaSubscription add-on) when the order gets confirmed: a "Serial Per Order" entry (or a pack added by hand to the order) still points to a serial pack that has since been deleted. When the payment confirms the order, HikaSerial tries to add serials from that missing pack and stops with "Attempt to assign property "quantity" on null". The order is already confirmed at that point, which is why it still goes through.

To stop it now, go to Components &gt; HikaSerial &gt; Plugins, open "Serial Per Order - HikaSerial plugin" and look at the entries listed there: one whose Pack column is empty points to a deleted pack. Edit it and choose an existing pack, or unpublish or delete it if you no longer need it. In an order affected by this, the Serials area of the order also shows an "Order assignation" line with no pack name.

We have prepared a fix for HikaSerial so that a missing pack is skipped instead of causing this error. It will come in a HikaSerial update, which your current maintenance covers. Until then, correcting the plugin entry as described above avoids the error.

2) The page in your screenshot is the payment page of the PayPal Checkout plugin, and it works as intended. Each button or form on it is a payment method that is enabled in the plugin's settings. To make it simpler, go to System &gt; Payment methods in HikaShop, open your PayPal Checkout method and, in its "Payment methods" section, untick what you do not want to offer: "Credit and debit cards" removes the card form and its billing address, Skrill removes the Skrill button and the name field above it, and Google Pay, Apple Pay, PayPal Credit and Pay Later remove their buttons. Then save. The PayPal button itself is always shown. The settings are described here: [ www.hikashop.com/support/documentation/4...l-checkout-form.html](https://www.hikashop.com/support/documentation/489-hikashop-payment-paypal-checkout-form.html)

The shopping cart on the right of that page looks like your HikaShop cart module. If you do not want it there, change the module's menu assignment so that it is not displayed on your checkout menu item.

The following user(s) said Thank You: [wrina iamwe](/forum/user/34481-wrina-iamwe "View wrina iamwe's Profile")

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

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