Open ravipiplani opened 1 year ago
I tried writing my own logic to verify the signature but I don't know the message structure to generate the signature.
Below is the sample data:
{razorpay_payment_id: 'pay_M8pBohrkOsZ2WC', razorpay_invoice_id: 'inv_M8pBLnILtoj6z6', razorpay_invoice_status: 'paid', razorpay_invoice_receipt: null, razorpay_signature: '8ff858ab7c03e18b37f227414fd8af4e602f2690a89220c49f3fddce25d15a36'}
I am using invoice to create orders (and not creating the order directly) to get invoice PDF once the invoice is paid.
I tried writing my own logic to verify the signature but I don't know the message structure to generate the signature.
Below is the sample data:
{razorpay_payment_id: 'pay_M8pBohrkOsZ2WC', razorpay_invoice_id: 'inv_M8pBLnILtoj6z6', razorpay_invoice_status: 'paid', razorpay_invoice_receipt: null, razorpay_signature: '8ff858ab7c03e18b37f227414fd8af4e602f2690a89220c49f3fddce25d15a36'}
I am using invoice to create orders (and not creating the order directly) to get invoice PDF once the invoice is paid.