如何在Spring Mvc中集成instamojo支付网关,居然缺少集成代码

我想了解 instamojo 支付网关与 SpringMvc 的集成,我无法找到支付链接的重定向代码


我有 github 的代码 https://github.com/Instamojo/instamojo-java


缺少重定向代码


PaymentOrder order = new PaymentOrder();

order.setName("John Smith");

order.setEmail("john.smith@gmail.com");

order.setPhone("12345678790");

order.setCurrency("INR");

order.setAmount(9D);

order.setDescription("This is a test transaction.");

order.setRedirectUrl("http://www.someexample.com");

order.setWebhookUrl("http://www.someurl.com/");

order.setTransactionId("dxg234");

订购代码在这里,但缺少重定向代码。提前致谢。我希望任何已经集成它的人都可以帮助我。


萧十郎
浏览 107回答 1
1回答

长风秋雁

我在 github 中有适当的工作代码,您可以下载代码并完成工作。https://github.com/s4satishverma/instamojo-java如有任何问题,您也可以关注此 youtube 视频。 https://www.youtube.com/watch?v=u1zSSdBl7uA&t=4s这将为您逐步整合
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java