Hello
There is a bug in the initiateTopup API for moonpay, when we call the below, the “amount” to buy is not specified in the moonpay page resulting to a default amount of 300 usd instead of the passed amount parameter:
await torusPlugin.initiateTopup(“moonpay”, {
selectedAddress: “wallet_address”,
selectedCurrency: “USD”, // Fiat currency
fiatValue: 100, // Fiat Value
selectedCryptoCurrency: “USDC_polygon”,
chainNetwork: “matic”, // Blockchain network
});
Looking at the link passed to moonpay ((MoonPay…), it is indeed missing the “baseCurrencyAmount=” parameter.
You should be able to reproduce easily.
Please advise.
Thanks