We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi.
const ZarinpalCheckout = require('zarinpal-checkout') const zarinpal = ZarinpalCheckout.create(process.env.MERCHENT_CODE, true); let { userId } = req; let { amount } = req.body; let user = await User.findByPk(userId); console.log(process.env.UI_PAYMENT_CALLBACK); // http://localhost:4000/payments/callback let response = await zarinpal.PaymentRequest({ Amount: Number(amount), CallbackURL: process.env.UI_PAYMENT_CALLBACK, Description: 'شارژ اکانت', Email: user.email, Mobile: user.phone }); // this line throw error.
what is my mistake
The text was updated successfully, but these errors were encountered:
MerchantID اشتباه هست
Sorry, something went wrong.
No branches or pull requests
Hi.
what is my mistake
The text was updated successfully, but these errors were encountered: