This page summarizes some of the errors and common issues that you may be encountered in runtime using the GeneXus SDK for Mercado Pago.
Problem: When creating a Payment using PaymentCustomCheckout.CreatePayment, this message error is returned:
"message": "Invalid transaction_amount",
"description": "Invalid transaction_amount",
- The value for &PaymentSDT.transaction_amount is too small. For instance, paying with credit card returns that error for an amount less than $15.
Problem: This error is displayed trying to pay by credit card with Checkout API, where the seller is a test user with production credentials
"message": "access denied",
"description": "Unauthorized use of live credentials"
Some services, such as subscription payments and card payments made via API do not allow testing in sanbox mode, they only work in production mode. This is because special permissions are required to manage payments and make payments via API. So, if Test Users are used for testing, they must have Production Credentials enabled. You may need to ask your local Mercado Pago agent for this. In this situation, do not use test user as buyer (something like email@example.com may cause error).
Problem: When creating a Customer using MercadoPago.Users.CreateCustomer, this message error is returned:
"message":"invalid parameters ",
"description":"invalid users involved"
Cause/Solution: The buyer's e-mail address corresponds to a Test User and the seller credentials not.
The error occurs when exchanging the card data for a token, through the MercadoPagoCheckout.GetCardToken method.
The cause of the error is that the Access Token and Public Key properties are not properly set on the Main Mobile object. The values must match those specified in the Procedure GetAccessToken and GetPublicKey, respectively.