Set this value to true to display the coupon code field, or pass the 'couponCode' field to autofill with a coupon code. Defaults to false. If true, you must implement the PlatformPayButton component's onCouponCodeEntered callback and call updatePlatformPaySheet from there.
OptionalcouponCode?: string
Set this value to autofill with a coupon code. If provided, you must implement the PlatformPayButton component's onCouponCodeEntered callback and call updatePlatformPaySheet from there.
Set this value to true to display the coupon code field, or pass the 'couponCode' field to autofill with a coupon code. Defaults to false. If true, you must implement the PlatformPayButton component's
onCouponCodeEntered
callback and callupdatePlatformPaySheet
from there.