attempting to hit the v2/customers/id/card api and am getting the following error
{“errors”:[{“category”:“INVALID_REQUEST_ERROR”,“code”:“CARD_PROCESSING_NOT_ENABLED”,“detail”:“Account is not enabled for card processing, visit www.squareup.com/activate”}]}
This account has been active for well over 9 months and all of a sudden I’m receiving this error. I have updated oauth permissions to write_payments too.
I took a look at a few of those locations, and they all have payment processing enabled, as you said. Can you provide the application id and are you using Charge or CreatePayment?
Thank you! I believe we are using the create payment.
I have a few different applicationIds, I can paste them here as well.
sq0idp-HT7KywfFNI6BRJL_B5xFrQ
sq0idp-qPNtsUuqTFydk8zftTPffw
sq0idp-1f8lQnm9WEiTle6FH_s4UA
sq0idp-i6l6pZMQx7PhWVwP_U9_UA
sq0idp-aVe1jxFp3O55pPmcPzelgQ
sq0idp-Tth-ZcrhkKQbRpz-vRlwtQ
sq0idp-N5SNABgh2f6ySDMhKTQe_Q
sq0idp-OyP_NRHRe1uAONyJkg96pQ
sq0idp-t87l6yuqmRNUt0I7D7JzXA
sq0idp-Lltz-lsN2H6SrA9lDoorww
sq0idp-Ey8cS5BrhqBdUlkkMAtVEg
sq0idp-p-HojmNXsG51FO9DjYcRQQ
sq0idp-3UnW37XHaDA5JP_6AwGURw
sq0idp-Ey8cS5BrhqBdUlkkMAtVEg
I see a successful CreatePayment request coming from sq0idp-Ey8cS5BrhqBdUlkkMAtVEg for 4ZXDTNS5WA213 at 1:07 PM PST today. The only errors I see are for a GENERIC_DECLINE for this entire merchant account (all locations). I do not see any errors being returned about card processing not being enabled.
I keep seeing declined transactions with that error. I do not see any successful transactions. Can you check for customerId “40GM1HN6XRWWK70RKCWVC2XD5C” and help me understand why I would get this error?
Ideally I’d like to resolve it moving forward so if you can help me understand what causes this error that would also be super helpful.
I see this customer being used with CreateCustomerCard for this location: 8C818FFJ1E70W. This location appears to be located in India, which is not a valid country for Square to take card payments in, which is why you’re getting this error.
Thank you! I hate to trouble you with it but if at all possible can you please check the list of locationIds provided and see if any are outside the range of support for square payments. via API?
Any location that is returning this error is outside of the supported countries, or either hasn’t passed IDV (which I can’t confirm without talking directly to the account owner and confirming some personal information). You can use the [ListMerchants](https://developer.squareup.com/reference/square/merchants-api/list-merchants) endpoint to see what country a given merchant account is set up with.
Square currently supports US, Canada, Japan, Australia, and the United Kingdom for card payments.
It looks like you’re trying to access FB015E2WK0G0M using an access token that does not have permission to view that location (the access token belongs to another merchant account). The error I see is “Not authorized to take payments with location_id=FB015E2WK0G0M”.
To clarify, since you asked about OAuth in your other thread: if you’re using OAuth, you need to make sure you’re using the correct access token for a particular merchant account. Using your personal access token, or another merchant’s access token and you won’t be able to access this location. All access tokens are scoped to a specific merchant account.
When you ask a merchant to go through the Square OAuth authorize link, and then use ObtainToken, Square will generate a unique access token for that particular merchant. When you need to make API calls on the merchant’s behalf (like taking payments), you need to use this OAuth access token, not your personal access token.