For All Intents And Purposes Part 2 - Change Is Good! π
π Hi there! The description you are currently reading is just 2nd part of the problem set. It is highly recommended to read ALL THE PARTS before coding as parts may build on top of each other π³
The initial version of our system looks good ππ! But it turns out merchants also need to be able to update the amount of initialized Payment Intents. This happen if a customer begins to check out but then decides to change the items in their shopping cart π and thus the amount of the payment. Let's add that the our system π»!
Commands
Your system should support an additional command for updaing a Payment Intent.
UPDATE <payment_intent_id> <new amount>
qοΎβ’βκ°α π§‘ Credit to Rachel π§‘ΰ»κ±β⒠qοΎ
1Example 1
Constraints
Limits and guarantees your solution can rely on.
π«Ά