React Native In App Payment V2.0.0 error malformed calls from js field sizes are different

After upgrade library version from v1.7.6 to v2.0.0 I can’t do the payment with google pay. It show error “malformed calls from js field sizes are different”

 [{ price: "9.17", currencyCode: "AUD", priceStatus: 3 },
  "<<Function >>",
 "<<Function >>",
 "<<Function >>",
 21884,
 21885 ] is not usable as a native method argument

here is my function:

await SQIPGooglePay.requestGooglePayNonce(
  {
    price: '1.00',
    currencyCode: 'AUD',
    priceStatus: 3,
  },
  onGooglePayRequestNonceSuccess,
  onGooglePayRequestNonceFailure,
  onGooglePayCanceled,
);

Currently v2.0.0 isn’t a version for In-App Payments SDK. Are you instead using Mobile Payments SDK? :slight_smile:

I mean this library https://www.npmjs.com/package/react-native-square-in-app-payments @Bryan-Square