There is no way to edit the map in this way. What you can do is use Stripe Checkout to ask your customer about a new card without asking him to pay anything. The idea is not to set the amount or data-amount parameter.
<form action="/charge" method="POST"> <script src="https://checkout.stripe.com/checkout.js" class="stripe-button" data-key="pk_test_XXX" data-name="Demo Site" data-description="Update Card Details" data-panel-label="Update Card Details" data-label="Update Card Details"> </script> </form>
You will receive a new card token for this new card, and then you can use the Update Client API to save the new card from the client.
Regarding your second question, unfortunately, the incomplete version of Checkout.js is currently not available.
koopajah
source share