question

bruno avatar image
bruno asked David Marginian Deactivated answered

e-Commerce: Reuse previous card on file (Multple cards on file)

To store a card to be reused later we are using the E-Commerce Create Customer endpoint, which returns the Customer ID that we can use to charge (source field).

We realized that this process apparently only supports one single card on file? Is that correct?

If we update the customer with a new token (a new card), the card on file is updated. but we can still see the list of all cards by using the Customer Developer API. But we couldn't find a way to use these previous cards as a source when we are charging.

Are we limited to pass a "CustomerID" or a "token" in the source field in the Charge Endpoint? How could we use a previous card on file without collecting it again from the customer?

Thanks in advance

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.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered

Yes, currently ecomm only supports a single card on file. Yes, currently you are limited to pass a customerId or a token, there is no way to use a previous card on file.

10 |2000

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

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