question

webforte avatar image
webforte asked David Marginian Deactivated commented

On live URL, even test cards also gets tokenized.

Hi,

URL: https://token.clover.com/v1/tokens
https://prnt.sc/1m2kf5x, In this screenshot, test card also gets tokenized on live mode.

e-commerce api
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

That is expected.

4 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.

webforte avatar image webforte commented ·

How can we expect test card to pass on live mode. It should show that it's a testing card and can't be used on live mode.


Then, how can we prevent testing cards from getting tokenized.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ webforte commented ·

You are confusing tokenization with authorization. A payment with a test card will not be approved in production.

0 Likes 0 ·
webforte avatar image webforte David Marginian ♦♦ commented ·

I have created an app, how can I add the app to the production board. can you guide me on this. I am new to clover.


0 Likes 0 ·
Show more comments
webforte avatar image
webforte answered David Marginian Deactivated commented

If that is how it works then anyone can use testing card and placed the order.

3 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.

David Marginian avatar image David Marginian ♦♦ commented ·
Uhm, no. Tokenization is the process of tokenizing the card data, not authorizing the card. If you were to attempt a payment with a token from a test card the payment would fail in production.
0 Likes 0 ·
webforte avatar image webforte David Marginian ♦♦ commented ·
okay, got your point but as soon as we enter the testing card details, it should show the error there as i am using ecommerce API in which after card tokenize, i am creating an order and after that it processes to payment then on last step it will fail instead of getting failed on entering card details step.
0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ webforte commented ·

That isn't how it works, authorizations may cost the merchant money, you don't want tokenization to be performing an authorization. Tokenization just tokenizes the card data, that is it. When a card is saved on file (https://docs.clover.com/docs/ecommerce-saving-card) we do perform an authorization to ensure the card is valid.

0 Likes 0 ·

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