• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
Europe (English)
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

error 10151 - Error 10151 - PRODUCT_QUANTITY_REQUIRED

In PRODUCTION mode, if your buyer gets an error message such as:

An error occurred during the payment request, please make sure that the posted parameters match the ones specified in the documentation.

It becomes impossible to make the payment and the transaction is definitively lost.

You will receive an e-mail notification containing the form that the gateway was unable to process and the value of the invalid field.

We invite you to check the following reason to resolve the issue:

The quantity of the shopping cart items is mandatory for this payment type.
You have requested the creation of a payment on a network that requires sending the quantity of items in the authorization request. Here is the list of networks concerned:
  • KLARNA

However, the vads_product_qty field is missing from your payment form.

To resolve the issue:
  • Edit your payment form to transmit the quantity of the shopping item via the following field: vads_product_qtyN.

(N corresponds to the index of the item).

Jobs
Legal
GDPR
25.22-1.11