payment

package
v0.0.0-...-7fd5faa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2021 License: MIT Imports: 5 Imported by: 0

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

func PaymentSelectMock(mock sqlmock.Sqlmock, args ...driver.Value)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL