Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidForPaymentReq map[string]interface{} = map[string]interface{}{
"gateway": "testgateway.com",
"currency_id": 1,
"status": "complete",
"for": "orr",
"entity_id": 1,
"razorpay_payment_id": "pay_FjYWQFwuiE89Xp",
"razorpay_signature": "114d1d336c37685092345249943acb3007e4c5f8a4fc6493c02c676c7c4e2a0c",
}
View Source
var InvalidSigPaymentReq map[string]interface{} = map[string]interface{}{
"gateway": "testgateway.com",
"currency_id": 1,
"status": "complete",
"for": "order",
"entity_id": 1,
"razorpay_payment_id": "pay_FjYWQFwuiE89Xp",
"razorpay_signature": "114d1d336c37685092345249943acb3007e4c5f8a4fc6493c02c676c7c4e2a",
}
View Source
var Payment map[string]interface{} = map[string]interface{}{
"amount": 100,
"gateway": "testgateway.com",
"currency_id": 1,
"status": "complete",
"razorpay_payment_id": "pay_FjYWQFwuiE89Xp",
"razorpay_signature": "114d1d336c37685092345249943acb3007e4c5f8a4fc6493c02c676c7c4e2a0c",
}
View Source
var PaymentCols []string = []string{"id", "created_at", "updated_at", "deleted_at", "created_by_id", "updated_by_id", "amount", "gateway", "currency_id", "status", "razorpay_payment_id", "razorpay_signature"}
View Source
var PaymentMembershipReq map[string]interface{} = map[string]interface{}{
"gateway": "testgateway.com",
"currency_id": 1,
"status": "complete",
"for": "membership",
"entity_id": 1,
"razorpay_payment_id": "pay_FjYWQFwuiE89Xp",
"razorpay_signature": "114d1d336c37685092345249943acb3007e4c5f8a4fc6493c02c676c7c4e2a0c",
}
View Source
var PaymentOrderReq map[string]interface{} = map[string]interface{}{
"gateway": "testgateway.com",
"currency_id": 1,
"status": "complete",
"for": "order",
"entity_id": 1,
"razorpay_payment_id": "pay_FjYWQFwuiE89Xp",
"razorpay_signature": "114d1d336c37685092345249943acb3007e4c5f8a4fc6493c02c676c7c4e2a0c",
}
Functions ¶
func PaymentSelectMock ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.