Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* 1 */
- {
- "_id" : ObjectId("5c2b082b7680699e780610ef"),
- "createdAt" : ISODate("2018-12-28T13:31:57.325Z"),
- "updatedAt" : ISODate("2018-12-28T13:31:57.325Z"),
- "signature" : "9cc25bb60e7622d263c3e672619f2531fca91ae6cd0e5aa77d8b5487c86fd877",
- "razorPayBody" : {
- "entity" : "event",
- "account_id" : "acc_BaKtSrzkVIcegp",
- "event" : "payment.captured",
- "contains" : [
- "payment"
- ],
- "payload" : {
- "payment" : {
- "entity" : {
- "id" : "pay_Beg2OGSn3xCU9q",
- "entity" : "payment",
- "amount" : 122,
- "currency" : "INR",
- "status" : "captured",
- "order_id" : "order_Beg2FvMMrg9uDi",
- "invoice_id" : "inv_Beg2FsjxSNQHsW",
- "international" : false,
- "method" : "card",
- "amount_refunded" : 0,
- "refund_status" : null,
- "captured" : true,
- "description" : "Plan 3",
- "card_id" : "card_Beg2PSBeajxy0A",
- "card" : {
- "id" : "card_Beg2PSBeajxy0A",
- "entity" : "card",
- "name" : "Kumar Swamy",
- "last4" : "5558",
- "network" : "MasterCard",
- "type" : "credit",
- "issuer" : "KARB",
- "international" : false,
- "emi" : false
- },
- "bank" : null,
- "wallet" : null,
- "vpa" : null,
- "email" : "rohitdalal11@code-brew.com",
- "contact" : "+919599459741",
- "customer_id" : "cust_BcHdvjtZGJCs6a",
- "notes" : {
- "serverSubscriptionId" : "5c2b0818ff9fec2935f6cd73"
- },
- "fee" : 5,
- "tax" : 0,
- "error_code" : null,
- "error_description" : null,
- "created_at" : 1546324001
- }
- }
- },
- "created_at" : 1546324003
- },
- "responseSent" : {
- "success" : 0,
- "statusCode" : 500,
- "msg" : "event is not defined"
- },
- "resExtraDetails" : {},
- "status" : "Error500",
- "event" : "payment.captured",
- "__v" : 0
- }
- /* 2 */
- {
- "_id" : ObjectId("5c2b082b7680699e780610f0"),
- "createdAt" : ISODate("2018-12-28T13:31:57.325Z"),
- "updatedAt" : ISODate("2018-12-28T13:31:57.325Z"),
- "signature" : "222a88d756f217cab75351cbfdddd3ae0fcc78666a742f606bd30ac19cd895a1",
- "razorPayBody" : {
- "entity" : "event",
- "account_id" : "acc_BaKtSrzkVIcegp",
- "event" : "payment.authorized",
- "contains" : [
- "payment"
- ],
- "payload" : {
- "payment" : {
- "entity" : {
- "id" : "pay_Beg2OGSn3xCU9q",
- "entity" : "payment",
- "amount" : 122,
- "currency" : "INR",
- "status" : "authorized",
- "order_id" : "order_Beg2FvMMrg9uDi",
- "invoice_id" : "inv_Beg2FsjxSNQHsW",
- "international" : false,
- "method" : "card",
- "amount_refunded" : 0,
- "refund_status" : null,
- "captured" : false,
- "description" : "Plan 3",
- "card_id" : "card_Beg2PSBeajxy0A",
- "card" : {
- "id" : "card_Beg2PSBeajxy0A",
- "entity" : "card",
- "name" : "Kumar Swamy",
- "last4" : "5558",
- "network" : "MasterCard",
- "type" : "credit",
- "issuer" : "KARB",
- "international" : false,
- "emi" : false
- },
- "bank" : null,
- "wallet" : null,
- "vpa" : null,
- "email" : "rohitdalal11@code-brew.com",
- "contact" : "+919599459741",
- "customer_id" : "cust_BcHdvjtZGJCs6a",
- "notes" : {
- "serverSubscriptionId" : "5c2b0818ff9fec2935f6cd73"
- },
- "fee" : null,
- "tax" : null,
- "error_code" : null,
- "error_description" : null,
- "created_at" : 1546324001
- }
- }
- },
- "created_at" : 1546324003
- },
- "responseSent" : {
- "success" : 0,
- "statusCode" : 500,
- "msg" : "event is not defined"
- },
- "resExtraDetails" : {},
- "status" : "Error500",
- "event" : "payment.authorized",
- "__v" : 0
- }
- /* 3 */
- {
- "_id" : ObjectId("5c2b082b7680699e780610f1"),
- "createdAt" : ISODate("2018-12-28T13:31:57.325Z"),
- "updatedAt" : ISODate("2018-12-28T13:31:57.325Z"),
- "signature" : "da2a047f55bba2a38239e66bbeb0073ec090f1cffc67cccf27b7f3c8c12b24d2",
- "razorPayBody" : {
- "entity" : "event",
- "account_id" : "acc_BaKtSrzkVIcegp",
- "event" : "subscription.activated",
- "contains" : [
- "subscription",
- "payment"
- ],
- "payload" : {
- "subscription" : {
- "entity" : {
- "id" : "sub_Beg2FpSOkDt0tG",
- "entity" : "subscription",
- "plan_id" : "plan_BaNuwggBTArPaA",
- "customer_id" : "cust_BcHdvjtZGJCs6a",
- "status" : "active",
- "current_start" : 1546324001,
- "current_end" : 1548959400,
- "ended_at" : null,
- "quantity" : 1,
- "notes" : [],
- "charge_at" : 1548959400,
- "start_at" : 1546324001,
- "end_at" : 1548959400,
- "auth_attempts" : 0,
- "total_count" : 2,
- "paid_count" : 1,
- "customer_notify" : true,
- "created_at" : 1546323992
- }
- },
- "payment" : {
- "entity" : {
- "id" : "pay_Beg2OGSn3xCU9q",
- "entity" : "payment",
- "amount" : 122,
- "currency" : "INR",
- "status" : "captured",
- "order_id" : "order_Beg2FvMMrg9uDi",
- "invoice_id" : "inv_Beg2FsjxSNQHsW",
- "international" : false,
- "method" : "card",
- "amount_refunded" : 0,
- "refund_status" : null,
- "captured" : true,
- "description" : "Plan 3",
- "card_id" : "card_Beg2PSBeajxy0A",
- "card" : {
- "id" : "card_Beg2PSBeajxy0A",
- "entity" : "card",
- "name" : "Kumar Swamy",
- "last4" : "5558",
- "network" : "MasterCard",
- "type" : "credit",
- "issuer" : "KARB",
- "international" : false,
- "emi" : false
- },
- "bank" : null,
- "wallet" : null,
- "vpa" : null,
- "email" : "rohitdalal11@code-brew.com",
- "contact" : "+919599459741",
- "customer_id" : "cust_BcHdvjtZGJCs6a",
- "notes" : {
- "serverSubscriptionId" : "5c2b0818ff9fec2935f6cd73"
- },
- "fee" : 5,
- "tax" : 0,
- "error_code" : null,
- "error_description" : null,
- "created_at" : 1546324001
- }
- }
- },
- "created_at" : 1546324003
- },
- "responseSent" : {
- "success" : 0,
- "statusCode" : 500,
- "msg" : "event is not defined"
- },
- "resExtraDetails" : {},
- "status" : "Error500",
- "event" : "subscription.activated",
- "__v" : 0
- }
- /* 4 */
- {
- "_id" : ObjectId("5c2b082b7680699e780610f2"),
- "createdAt" : ISODate("2018-12-28T13:31:57.325Z"),
- "updatedAt" : ISODate("2018-12-28T13:31:57.325Z"),
- "signature" : "2517c0b0e0bcda899b837d66f5ec27eeea8433a918044f90ad8c44b3aea78f4f",
- "razorPayBody" : {
- "entity" : "event",
- "account_id" : "acc_BaKtSrzkVIcegp",
- "event" : "invoice.paid",
- "contains" : [
- "payment",
- "order",
- "invoice"
- ],
- "payload" : {
- "payment" : {
- "entity" : {
- "id" : "pay_Beg2OGSn3xCU9q",
- "entity" : "payment",
- "amount" : 122,
- "currency" : "INR",
- "status" : "captured",
- "order_id" : "order_Beg2FvMMrg9uDi",
- "invoice_id" : "inv_Beg2FsjxSNQHsW",
- "international" : false,
- "method" : "card",
- "amount_refunded" : 0,
- "refund_status" : null,
- "captured" : true,
- "description" : "Plan 3",
- "card_id" : "card_Beg2PSBeajxy0A",
- "card" : {
- "id" : "card_Beg2PSBeajxy0A",
- "entity" : "card",
- "name" : "Kumar Swamy",
- "last4" : "5558",
- "network" : "MasterCard",
- "type" : "credit",
- "issuer" : "KARB",
- "international" : false,
- "emi" : false
- },
- "bank" : null,
- "wallet" : null,
- "vpa" : null,
- "email" : "rohitdalal11@code-brew.com",
- "contact" : "+919599459741",
- "customer_id" : "cust_BcHdvjtZGJCs6a",
- "notes" : {
- "serverSubscriptionId" : "5c2b0818ff9fec2935f6cd73"
- },
- "fee" : 5,
- "tax" : 0,
- "error_code" : null,
- "error_description" : null,
- "created_at" : 1546324001
- }
- },
- "order" : {
- "entity" : {
- "id" : "order_Beg2FvMMrg9uDi",
- "entity" : "order",
- "amount" : 122,
- "amount_paid" : 122,
- "amount_due" : 0,
- "currency" : "INR",
- "receipt" : null,
- "offer_id" : null,
- "offers" : {
- "entity" : "collection",
- "count" : 0,
- "items" : []
- },
- "status" : "paid",
- "attempts" : 1,
- "notes" : [],
- "created_at" : 1546323992
- }
- },
- "invoice" : {
- "entity" : {
- "id" : "inv_Beg2FsjxSNQHsW",
- "entity" : "invoice",
- "receipt" : null,
- "invoice_number" : null,
- "customer_id" : "cust_BcHdvjtZGJCs6a",
- "customer_details" : {
- "id" : "cust_BcHdvjtZGJCs6a",
- "name" : null,
- "email" : "rohitdalal11@code-brew.com",
- "contact" : "+919599459741",
- "gstin" : null,
- "billing_address" : null,
- "shipping_address" : null,
- "customer_name" : null,
- "customer_email" : "rohitdalal11@code-brew.com",
- "customer_contact" : "+919599459741"
- },
- "order_id" : "order_Beg2FvMMrg9uDi",
- "subscription_id" : "sub_Beg2FpSOkDt0tG",
- "payment_id" : "pay_Beg2OGSn3xCU9q",
- "status" : "paid",
- "expire_by" : null,
- "issued_at" : 1546323992,
- "paid_at" : 1546324003,
- "cancelled_at" : null,
- "expired_at" : null,
- "sms_status" : null,
- "email_status" : null,
- "date" : 1546323992,
- "terms" : null,
- "partial_payment" : false,
- "gross_amount" : 122,
- "tax_amount" : 0,
- "taxable_amount" : 122,
- "amount" : 122,
- "amount_paid" : 122,
- "amount_due" : 0,
- "first_payment_min_amount" : null,
- "currency" : "INR",
- "description" : null,
- "notes" : [],
- "comment" : null,
- "short_url" : "https://rzp.io/i/LR9WcN2",
- "view_less" : true,
- "billing_start" : null,
- "billing_end" : null,
- "type" : "invoice",
- "group_taxes_discounts" : false,
- "supply_state_code" : null,
- "user_id" : null,
- "created_at" : 1546323992
- }
- }
- },
- "created_at" : 1546324003
- },
- "responseSent" : {
- "success" : 0,
- "statusCode" : 500,
- "msg" : "event is not defined"
- },
- "resExtraDetails" : {},
- "status" : "Error500",
- "event" : "invoice.paid",
- "__v" : 0
- }
- /* 5 */
- {
- "_id" : ObjectId("5c2b082c7680699e780610f3"),
- "createdAt" : ISODate("2019-01-01T06:26:52.172Z"),
- "updatedAt" : ISODate("2019-01-01T06:26:52.172Z"),
- "signature" : "a1494586c3a91348790aacf6aa2ba44b9a9ec53467af9044c7b0e5d4ddbaf0c3",
- "razorPayBody" : {
- "entity" : "event",
- "account_id" : "acc_BaKtSrzkVIcegp",
- "event" : "subscription.charged",
- "contains" : [
- "subscription",
- "payment"
- ],
- "payload" : {
- "subscription" : {
- "entity" : {
- "id" : "sub_Beg2FpSOkDt0tG",
- "entity" : "subscription",
- "plan_id" : "plan_BaNuwggBTArPaA",
- "customer_id" : "cust_BcHdvjtZGJCs6a",
- "status" : "active",
- "current_start" : 1546324001,
- "current_end" : 1548959400,
- "ended_at" : null,
- "quantity" : 1,
- "notes" : [],
- "charge_at" : 1548959400,
- "start_at" : 1546324001,
- "end_at" : 1548959400,
- "auth_attempts" : 0,
- "total_count" : 2,
- "paid_count" : 1,
- "customer_notify" : true,
- "created_at" : 1546323992
- }
- },
- "payment" : {
- "entity" : {
- "id" : "pay_Beg2OGSn3xCU9q",
- "entity" : "payment",
- "amount" : 122,
- "currency" : "INR",
- "status" : "captured",
- "order_id" : "order_Beg2FvMMrg9uDi",
- "invoice_id" : "inv_Beg2FsjxSNQHsW",
- "international" : false,
- "method" : "card",
- "amount_refunded" : 0,
- "refund_status" : null,
- "captured" : true,
- "description" : "Plan 3",
- "card_id" : "card_Beg2PSBeajxy0A",
- "card" : {
- "id" : "card_Beg2PSBeajxy0A",
- "entity" : "card",
- "name" : "Kumar Swamy",
- "last4" : "5558",
- "network" : "MasterCard",
- "type" : "credit",
- "issuer" : "KARB",
- "international" : false,
- "emi" : false
- },
- "bank" : null,
- "wallet" : null,
- "vpa" : null,
- "email" : "rohitdalal11@code-brew.com",
- "contact" : "+919599459741",
- "customer_id" : "cust_BcHdvjtZGJCs6a",
- "notes" : {
- "serverSubscriptionId" : "5c2b0818ff9fec2935f6cd73"
- },
- "fee" : 5,
- "tax" : 0,
- "error_code" : null,
- "error_description" : null,
- "created_at" : 1546324001
- }
- }
- },
- "created_at" : 1546324003
- },
- "responseSent" : {
- "success" : 0,
- "statusCode" : 400,
- "msg" : "Server Subscription id is invalid"
- },
- "status" : "SerSubscriptionInvalid",
- "event" : "subscription.charged",
- "__v" : 0
- }
- /* 6 */
- {
- "_id" : ObjectId("5c2b082d7680699e780610f4"),
- "createdAt" : ISODate("2018-12-28T13:31:57.325Z"),
- "updatedAt" : ISODate("2018-12-28T13:31:57.325Z"),
- "signature" : "69e2e87599724575b31edc70741565eb2108cd8b748aca36cd40754a1864f876",
- "razorPayBody" : {
- "entity" : "event",
- "account_id" : "acc_BaKtSrzkVIcegp",
- "event" : "order.paid",
- "contains" : [
- "payment",
- "order"
- ],
- "payload" : {
- "payment" : {
- "entity" : {
- "id" : "pay_Beg2OGSn3xCU9q",
- "entity" : "payment",
- "amount" : 122,
- "currency" : "INR",
- "status" : "captured",
- "order_id" : "order_Beg2FvMMrg9uDi",
- "invoice_id" : "inv_Beg2FsjxSNQHsW",
- "international" : false,
- "method" : "card",
- "amount_refunded" : 0,
- "refund_status" : null,
- "captured" : true,
- "description" : "Plan 3",
- "card_id" : "card_Beg2PSBeajxy0A",
- "card" : {
- "id" : "card_Beg2PSBeajxy0A",
- "entity" : "card",
- "name" : "Kumar Swamy",
- "last4" : "5558",
- "network" : "MasterCard",
- "type" : "credit",
- "issuer" : "KARB",
- "international" : false,
- "emi" : false
- },
- "bank" : null,
- "wallet" : null,
- "vpa" : null,
- "email" : "rohitdalal11@code-brew.com",
- "contact" : "+919599459741",
- "customer_id" : "cust_BcHdvjtZGJCs6a",
- "notes" : {
- "serverSubscriptionId" : "5c2b0818ff9fec2935f6cd73"
- },
- "fee" : 5,
- "tax" : 0,
- "error_code" : null,
- "error_description" : null,
- "created_at" : 1546324001
- }
- },
- "order" : {
- "entity" : {
- "id" : "order_Beg2FvMMrg9uDi",
- "entity" : "order",
- "amount" : 122,
- "amount_paid" : 122,
- "amount_due" : 0,
- "currency" : "INR",
- "receipt" : null,
- "offer_id" : null,
- "status" : "paid",
- "attempts" : 1,
- "notes" : [],
- "created_at" : 1546323992
- }
- }
- },
- "created_at" : 1546324003
- },
- "responseSent" : {
- "success" : 0,
- "statusCode" : 500,
- "msg" : "event is not defined"
- },
- "resExtraDetails" : {},
- "status" : "Error500",
- "event" : "order.paid",
- "__v" : 0
- }
Add Comment
Please, Sign In to add comment