Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to pay with any other payment method #2818

Open
AkshayManiar opened this issue Aug 13, 2024 · 0 comments
Open

Not able to pay with any other payment method #2818

AkshayManiar opened this issue Aug 13, 2024 · 0 comments

Comments

@AkshayManiar
Copy link

Description

When you have enough money in your Apple Wallet, you can make payments directly. However, if your Apple Wallet doesn’t have enough funds, it prompts you to use other payment methods like UPI or a credit card.

In the development environment, where everything is simulated (or "sandboxed"), payments are processed directly without issue. But in the production environment, when you choose UPI as the payment method, a request is sent to your UPI ID. However, the payment process is encountering an error and showing a “received error” status.

So, the main issues are:

  1. Payments work fine in the development environment but not in production.
  2. In production, UPI requests are failing with an error message.

Expected Behavior
We need to get a payment status update and a transaction ID so that we can check and verify the payment status later.

Environment:

  • react-native-iap: 12.10.5
  • react-native: ^0.68.5
  • Platforms: IOS

Code

RNIap.requestPurchase({
sku: purchaseID,
})
.then(async (res) => {
console.log(res);
})
.catch((err) => {
console.log(err);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant