Skip to content

How can i capture the signature after checkout? #11

@p2pdevloper

Description

@p2pdevloper

@app.route('/charge', methods=['POST'])
def app_charge():
amount = 5100
payment_id = request.form['razorpay_payment_id']
razorpay_client.payment.capture(payment_id, amount)
print(request.form["razorpay_signature"])
return json.dumps(razorpay_client.payment.fetch(payment_id))

if i write this then why i am not getting signature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions