UNPKG

@rnw-community/react-native-payments

Version:

Accept Payments with Apple Pay and Android Pay using the Payment Request API.

7 lines (5 loc) 283 B
import { getErrorMessage } from '@rnw-community/shared'; export const warnChangeEventError = (error: unknown): void => { // eslint-disable-next-line no-console console.warn(`[ReactNativePayments] Payment change event failed: ${getErrorMessage(error, 'Unknown error')}`); };