我已经使用PHP集成了Razorpay支付,并且在捕获支付时会出现错误,并出现以下错误。
Notice: Undefined index: razorpay_signature in /Applications/XAMPP/xamppfiles/htdocs/feedback/dashboard/admin/verify.php on line 27
Warning: hash_equals(): Expected user_string to be a string, null given in /Applications/XAMPP/xamppfiles/htdocs/feedback/dashboard/admin/razorpay-php/src/Utility.php on line 32截图:
未定义索引: Razorpay签名

注:在我的情况下,为支付而产生的金额是动态的!
发布于 2018-08-02 17:57:21
https://api.razorpay.com/v1/payments/:id/capture
{
"id": "pay_7IZD7aJ2kkmOjk",
"entity": "payment",
"amount": 50000,
"currency": "INR",
"status": "captured",
"order_id": null,
"invoice_id": null,
"international": false,
"method": "wallet",
"amount_refunded": 0,
"refund_status": null,
"captured": true,
"description": "Purchase Description",
"card_id": null,
"bank": null,
"wallet": "freecharge",
"vpa": null,
"email": "a@b.com",
"contact": "91xxxxxxxx",
"notes": {
"merchant_order_id": "order id"
},
"fee": 1438,
"tax": 188,
"error_code": null,
"error_description": null,
"created_at": 1400826750
}发布于 2018-08-02 17:53:55
https://api.razorpay.com/v1/payments/:id/capture
- {
"id": "pay_7IZD7aJ2kkmOjk",
"entity": "payment",
"amount": 50000,
"currency": "INR",
"status": "captured",
"order_id": null,
"invoice_id": null,
"international": false,
"method": "wallet",
"amount_refunded": 0,
"refund_status": null,
"captured": true,
"description": "Purchase Description",
"card_id": null,
"bank": null,
"wallet": "freecharge",
"vpa": null,
"email": "a@b.com",
"contact": "91xxxxxxxx",
"notes": {
"merchant_order_id": "order id"
},
"fee": 1438,
"tax": 188,
"error_code": null,
"error_description": null,
"created_at": 1400826750 }https://stackoverflow.com/questions/46772092
复制相似问题