Documentation
¶
Index ¶
- func GetImage(gw string, source map[string]interface{}) (string, error)
- func HashPassword(password string) string
- func VerifyHash(storePass string, postData map[string]interface{}) (bool, error)
- type SSLCommerz
- func (s *SSLCommerz) GetImage(gw string, source map[string]interface{}) (string, error)
- func (s *SSLCommerz) HashVerify(storePass string, postData map[string]interface{}) (bool, error)
- func (s *SSLCommerz) InitiatePayment(postData *sslcommerzEntity.PaymentRequest) (map[string]interface{}, error)
- func (s *SSLCommerz) SSLCOMMERZ_hash_varify(storePass string, postData map[string]interface{}) (bool, error)
- func (s *SSLCommerz) ValidateTransaction(tranID, amount, currency string, postData map[string]interface{}) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
HashPassword hashes the store password using MD5
Types ¶
type SSLCommerz ¶
type SSLCommerz struct {
// contains filtered or unexported fields
}
func NewSSLCommerz ¶
func NewSSLCommerz() *SSLCommerz
func (*SSLCommerz) GetImage ¶
func (s *SSLCommerz) GetImage(gw string, source map[string]interface{}) (string, error)
func (*SSLCommerz) HashVerify ¶
func (s *SSLCommerz) HashVerify(storePass string, postData map[string]interface{}) (bool, error)
func (*SSLCommerz) InitiatePayment ¶
func (s *SSLCommerz) InitiatePayment(postData *sslcommerzEntity.PaymentRequest) (map[string]interface{}, error)
func (*SSLCommerz) SSLCOMMERZ_hash_varify ¶
func (s *SSLCommerz) SSLCOMMERZ_hash_varify(storePass string, postData map[string]interface{}) (bool, error)
func (*SSLCommerz) ValidateTransaction ¶
func (s *SSLCommerz) ValidateTransaction(tranID, amount, currency string, postData map[string]interface{}) (bool, error)
Click to show internal directories.
Click to hide internal directories.