在执行Paytm时获取客户ID的语法无效
我正在Laravel项目中使用Paytm付款网关。但是对于这个用户,每次开始付款时,我都会收到此错误。
'order' => $order_ID,
'user' => Auth::user()->name,
'mobile_number' => Auth::user()->mob_no,
'email' => Auth::user()->email,
'amount' => $wallet_package->wallet_amt_to_be_paid,
I am using the Paytm payment gateway in my laravel project. but for this user, I get this error every time I start to make a paymentt.
'order' => $order_ID,
'user' => Auth::user()->name,
'mobile_number' => Auth::user()->mob_no,
'email' => Auth::user()->email,
'amount' => $wallet_package->wallet_amt_to_be_paid,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以通过CUS_ID:“ Cust_01”。会
You can pass the cus_ID:"CUST_01". It will
您可以使用“ cust_id” =>“任何唯一的CUST ID”。
此外,我建议使用Paytm Jscheckout解决方案。
用于文档:打开“ Paytm开发人员Docs jscheckout”。
Laravel Jscheckout集成的示例代码可在GitHub上获得。
github.com/paytm/paytm-laravel-js-checkout
You can use "CUST_ID"=>"any Unique cust ID".
In addition, I will recommend to use Paytm JsCheckout Solution.
For Documentation: Open "paytm developer docs jsCheckout".
The Sample code for Laravel JsCheckout integration is available on GitHub.
github.com/paytm/paytm-laravel-js-checkout