problem to link paypal account with prestashop checkout module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
we have a problem to link our account with prestashop checkout module. When we try to do it the system show this error:
{
"id": "b79aef84-2447-4dfc-9951-48f0165e2f99",
"timestamp": "2024-03-23T09:47:34.868Z",
"method": "GET",
"url": "/configuration/7faaedd[Removed. Phone #s not permitted]f6fa939589e2925a8f74a281d114a230ea7542",
"params": "{}",
"error": {
"code": 400,
"message": "merchantIdInPayPal must be a string, merchantIdInPayPal should not be empty, merchantId must be a string",
"errors": [
{
"reason": "INVALID_INPUT",
"message": "merchantIdInPayPal must be a string, merchantIdInPayPal should not be empty, merchantId must be a string",
"data": {
"details": [
{
"field": "merchantIdInPayPal",
"issue": "isString",
"description": "merchantIdInPayPal must be a string"
},
{
"field": "merchantIdInPayPal",
"issue": "isNotEmpty",
"description": "merchantIdInPayPal should not be empty"
},
{
"field": "merchantId",
"issue": "isString",
"description": "merchantId must be a string"
}
],
"context": {
"hmac": "09a6236[Removed. Phone #s not permitted]4a230ea7542"
},
"level": "error"
}
}
]
}
}
can someone help us? thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @enotizy ,
Thank you for posting to the PayPal Merchant Community.
The error description: "merchantIdInPayPal must be a string" indicates that the merchant ID is not entered correctly in your PrestaShop dashboard. Please verify the ID in PrestaShop matches the PayPal Merchant ID in your PayPal account. You can find this ID in your PayPal account settings in the business information section [https://www.paypal.com/businessmanage/account/aboutBusiness].
If you are still experiencing the issue after verifying the Merchant ID is correct, please create an MTS ticket via the following URL: https://www.paypal.com/mts. Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
John
MTS
PayPal
If you found this post helpful, please give it a kudos or accept it as a solution so it can help others with a similar question.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Payments Refunded Automatically After Successful Transactions - PayPal Business Account Issue in REST APIs
- iDEAL payments being refunded back to customers in PayPal Payments Standard
- Selected Shipping Method amount not updating to cart for card payment in SDKs
- PayPal Pay buttons a mysterious process in PayPal Payments Standard
- ExpressCheckout to REST API - Is Partner Program Now Required to Host Simple 3rd Party Transactions? in REST APIs