sorokin0andrey / react-native-apay

React Native bridge for Apple Pay
55 stars 30 forks source link

Handle "Cancel" payment #9

Open gramotei opened 4 years ago

gramotei commented 4 years ago

Handle "Cancel" payment by resolving requestPayment promise with "undefined"

sorokin0andrey commented 4 years ago

@gramotei update requestPayment return type declaration in "index.d.ts" because it sends null value on dismiss. Also update examples