diff --git a/open-giving/src/pages/api/chimoney-donate.js b/open-giving/src/pages/api/chimoney-donate.js index 80fb912..2d192e5 100644 --- a/open-giving/src/pages/api/chimoney-donate.js +++ b/open-giving/src/pages/api/chimoney-donate.js @@ -33,7 +33,7 @@ export default async function handler(req, res) { ); } - if (!walletID) { + if (!walletID && !interledgerWalletAddress) { res.status(400).json({ error: `Wallet ID is not set for this Organization in ${ useTestPaymentID ? 'Test' : 'Production' diff --git a/package.json b/package.json index cb60798..adcbc71 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "non-profit-donations", - "version": "0.1.2", + "version": "0.1.3", "description": "Support non-profits globally. Get the details of verified non profits to support", "main": "build/main/index.js", "typings": "build/main/index.d.ts",