This is an implementation of the pay_platform_interface
package for iOS.
Usage
With the pay
plugin
This package is the endorsed implementation of the pay
plugin, so it gets automatically added to your dependencies by adding the pay
package to your pubspec.yaml
.
Using this package directly
If you prefer to integrate or extend this package separately, add it as a dependency in your pubspec.yaml
file as follows:
dependencies:
pay_ios: ^1.0.12
Now, you can use the buttons available for the supported payment providers and the methods exposed in the interface that this package uses to communicate with the native end.
RawApplePayButton(
style: ApplePayButtonStyle.black,
type: ApplePayButtonType.buy);
Note: This is not an officially supported Google product.