Repository navigation
Replies: 1 comment
TL;DRThe edges capture the payment actions via either, Detailed AnswerTo answer this question, we need to understand and appreciate two facts:
Now, the actual payment action can happen at any checkout terminal i.e. the BAP's checkout page, The BPP's payment gateway page, or at the charging point via a card machine, or a UPI QR code at the charging point, etc. To bring the control back to the Beckn API layer, both the BAP and the BPP need to record this off-network action back into the order and synchronize state. Keeping these two principles in mind, we can now derive a generalized technical problem based on the business use case presented. The problemHow do a BAP and BPP synchronize on the latest state of an action (like Payment) that has happened off the value-exchange layer, i.e, the fabric? The solutionNow, let's analyze the three actions that were described namely, 1. Customer pays initial advance: COMPLETED at 150 ₹
2. 20% of amount was not used. So REFUND of 30 ₹
3. The charger did not when the prepaid amount was fully consumed, resulting in an overcharge collection
ConclusionThe above solution demonstrate how off-network actions like Payment can be updated and synchronized with the BAP and the BPP via a simple exchange of latest state of the order. It does not require payment history to be transmitted. The BAP and the BPP both update their internal order books by exchanging ALL state changes to the order via independent Beckn API calls. Alternate solutionsHowever, it is worth noting that the above solution is just one possible flow. In a different scenario, a BPP could just record the second pending payment and add it as a line item to a subsequent order from the same customer during It is also possible that the BAP may avoid the second payment flow altogether to maintain a clean user experience and settle the amount to the BPP internally while recovering the payable amount from its user via other methods, or sometimes even absorbing the cost through promotional offers.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
How to capture consecutive payments actions during an ev charging session. e.g. consider a EV charging session where a slot has been reserved.
++ @biodatanet
@ravi-prakash-v can you respond.
All reactions