Skip to main content

User Experience of CsB API

Payment Flow Sequence Diagram#

csb_diagrams

  • The buyer browse the merchant website and choose Wechat Pay to pay for one order.
  • The merchant website create the order in KsherWechatPay by calling a WebService API
  • The WebService API returns one QR Code image
  • The Merchant Website displays the QR code image
  • The buyer open the Wechat App on his(her) mobile
  • The buyer scan the QR code displayed on computer screen using Wechat App.
  • The buyer confirms the payment by entering PIN or using his(her) finger print.
  • The merchant website can get the payment result either by listening to WebService callback from KsherWechatPay, or
  • Query the payment result from KsherWechatPay via one WebService API periodically.