RazorPay Payment Gateway Integration

RazorPay Payment Gateway Integration

Triggers needed:
New Payment
New Customer
Payment Failed
New Subscription
Subsciption payment

Actions needed:
Create Invoices
Create Customers
Search Customers

User Case:
Case 1: Whenever a customer pays for a hotel booking, to send a payment a payment confirmation to customer and myself I would like to create a customer and also create invoice for the customer which then I would like to send acroos to both customer and myself.

Case 2: Whenever a Hotel Service Provider performs a monthly subscription payment I would like to create invoice for the Hotel owner which then I would like to send acroos to both Hotel owner and myself.