Documentation ¶
Index ¶
- Constants
- Variables
- func StartMockServer(url string, fixtureName string) (func(), string)
- func TestResponse(jsonBodyByteArray []byte, fixtureByteArray []byte, t *testing.T)
- func VerifyPaymentLinkSignature(queryParams map[string]interface{}, webhookSignature string, ...) bool
- func VerifyPaymentSignature(queryParams map[string]interface{}, webhookSignature string, ...) bool
- func VerifySignature(body []byte, signature string, key string) bool
- func VerifySubscriptionSignature(queryParams map[string]interface{}, webhookSignature string, ...) bool
- func VerifyWebhookSignature(requestBody string, webhookSignature string, webhookSecret string) bool
Constants ¶
View Source
const ( //TestAccessKey ... TestAccessKey = "fake_key" //TestAccessSecret ... TestAccessSecret = "fake_secret" )
Variables ¶
View Source
var ( //Client ... Client *razorpay.Client )
Functions ¶
func StartMockServer ¶
StartMockServer ...
func TestResponse ¶
TestResponse ...
func VerifyPaymentSignature ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.