question

greyskymedia avatar image
greyskymedia asked greyskymedia commented

[Sandbox] Unable to edit/delete custom tender [Solved]

During app development we initiated creating a custom tender to use within our app. Unfortunately, we didn't specify that the tender should be editable. Now the API thinks that the tender is a system tender (I'm guessing because `editable` is `false`).

Can someone with the access manually remove or set this to editable so we can delete it?

Mid: R3BMEGRVGGTZ1
Tender id: a395pa124a4xa

Here's the result we get with the edit and delete calls:

And the result when I run a delete or even an edit:

{ "message": "Error deleting merchant tender as you are not the owner of the system tender"}
{ "message": "Error modifying merchant tender as you are not the owner of the system tender"}
REST APICustom Tenders
12 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·
How are you making the API calls?
0 Likes 0 ·
greyskymedia avatar image greyskymedia commented ·

I'm using the API docs explorer:

screen-shot-2022-10-11-at-104922-am.pngscreen-shot-2022-10-11-at-104722-am.png

0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ greyskymedia commented ·
Where's the token come from?
0 Likes 0 ·
greyskymedia avatar image greyskymedia commented ·

Test client account, Account and Setup, API Tokens. (Attached MID from the same space too)

screen-shot-2022-10-11-at-105710-am.png screen-shot-2022-10-11-at-105824-am.png

0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ greyskymedia commented ·
A test merchant?


Would you expect any merchant to be able to delete your app's tender? Did you try executing those calls using a token retrieved in your app that is installed to a merchant?

0 Likes 0 ·
greyskymedia avatar image greyskymedia Jeffrey Blattman ♦♦ commented ·

This IS a merchant; if you look at the first photo above you'll see the lower Grey Sky Media is bolded, indicating that it is the one selected, and it is a test merchant, not developer account. The Custom tender was added to that test merchant's account.

If the merchant who owns the custom tender isn't allowed to delete the custom tender on their account, how would we remove that tender another way?

0 Likes 0 ·
Show more comments

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community