@alex Iâve only implemented it 1 week ago w/ a Production API key but never got it working. The error happens right after completing the form to purchase and clicking âContinueâ.
Also, I noticed the same issue is happening on the homepage widget on https://onramper.com/ so I donât think it has anything to do with my code but I could be wrong.
For my dapp I need users to be able to purchase MATIC, ideally using Wyre due to itâs low minimum purchase requirement.

Hereâs my code:
useEffect(() => {
if (!Moralis?.['Plugins']?.['fiat']) return null;
async function initPlugin() {
let results = await Moralis.Plugins.fiat
.buy(
{ coin: coin, receiver: receiver },
{ disableTriggers: true }
)
.then((data) => {
var ramperURL =
data.data +
'&wallet?MATIC:' +
address +
'&defaultAmount=7' +
'&defaultFiat=USD' +
'&isAddressEditable=false' +
'&color=6C63FF' +
'&darkMode=true';
setRamper(ramperURL);
});
}
initPlugin();
}, [Moralis.Plugins]);
and in my render I display an iframe
<iframe
src={ramper}
title="ramper"
frameBorder="no"
allow="accelerometer; autoplay; camera; gyroscope; payment;"
style={{
width: isMobile ? '350px' : '500px',
minHeight: '550px',
boxShadow: '0 0.5rem 1.2rem rgb(189 197 209 / 20%)',
border: '1px solid #e7eaf3',
borderRadius: '1rem',
backgroundColor: 'white',
}}
/>