hyperpay
hyperpay copied to clipboard
feat: direct client payment without configuration
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
- Request
checkoutId
from the server - Client manages the values of
CardInfo
andBrandType
entered by the user through a custom payment form - After calling
easyPay
with the needed data, the client should ask the server about the status of the payment