Skip to content

Commit

Permalink
Merge pull request #38 from Chimoney/dev
Browse files Browse the repository at this point in the history
check for all payment methods before throwing error
  • Loading branch information
uchibeke authored Oct 25, 2024
2 parents b6951e1 + 00bed10 commit 8c96299
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion open-giving/src/pages/api/chimoney-donate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 8c96299

Please sign in to comment.