Menu
Feedback
Start here

Known issues

Known issues
Cannot remove credit card information from an orderForm via API
Shopping
ID:
Backlog
Published on9/13/2021
Last updated on12/22/2022
1 min read

Summary

Credit card information cannot be removed from an orderForm via route /api/checkout/pub/orderForm/{orderFormId}/paymentAccount/{accountId}/remove when using appKey/appToken as credentials.

When an appKey with the appropriate permissions submits a request to this route, the API returns an error with status 500: "Attempted to perform an unauthorized operation."

Note that it is not an error with status 403, as is usual for authorization failures.

Simulation

Workaround

Currently, there is no workaround.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback