hyperpay library

Classes

ApplePayButton
A button widget that follows the Apple Pay button styles and design guidelines. This widget will draw the native Apply Pay button from PassKit
ApplePaySettings
Required fields for performing a transaction with Apply Pay.
CardInfo
CheckoutSettings
This class wraps the required params to get a checkoutID from HyperPay server-to-server, meaning that these params are sent later in the body of your call to get a checkoutID to your server.
HyperpayConfig
Payments can happen either on Test or Live mode, each mode has a different set of entity IDs, these are provided by HyperPay along with your merchant account.
HyperpayPlugin
The interface for Hyperpay SDK. To use this plugin, you will need to have 2 endpoints on your server.

Enums

ApplePayButtonStyle
The button styles supported on Apple Pay.
ApplePayButtonType
The types of button supported on Apple Pay.
BrandType
Currently supported brands by this plugin.
PaymentMode
The environment mode for HyperPay, will be global for the current life of the app.
PaymentStatus
Any transaction would have 4 possible group states.

Extensions

ApplePayButtonTypeExt on ApplePayButtonType
A set of utility methods associated to the ApplePayButtonType enum.
BrandTypeExtension on BrandType
DetectBrand on String
PaymentModeExtension on PaymentMode
A handy util to turn mode enums into their corresponding HyperPay string representation.
PaymentStatusFromRegExp on String
Uses Regular Expressions to define the group of a transaction result code.

Exceptions / Errors

HyperpayException
Exception to wrap HyperPay API errors.