hyperpay icon indicating copy to clipboard operation
hyperpay copied to clipboard

feat: direct client payment without configuration

Open shadyaziza opened this issue 2 years ago • 1 comments

Added new easyPay api

Future<void> easyPay({
    required String checkoutId,
    required BrandType brand,
    required CardInfo card,
  })

Which does not require any configuration from the client side. The possible workflow for this

  1. Request checkoutId from the server
  2. Client manages the values of CardInfo and BrandType entered by the user through a custom payment form
  3. After calling easyPay with the needed data, the client should ask the server about the status of the payment

shadyaziza avatar Jan 16 '23 18:01 shadyaziza