Versions in this module Expand all Collapse all v1 v1.0.0 Dec 3, 2020 Changes in this version + const ParamAccountToken + const ParamBaseUrl + const ParamBestBefore + const ParamBillingAddress + const ParamBillingCity + const ParamBillingCountry + const ParamBillingPostal + const ParamBillingRegion + const ParamCardOperationType + const ParamCloseOnMissclick + const ParamCssModalWrap + const ParamCustomerCity + const ParamCustomerCountry + const ParamCustomerDayOfBirth + const ParamCustomerEmail + const ParamCustomerFirstName + const ParamCustomerId + const ParamCustomerLastName + const ParamCustomerPhone + const ParamCustomerSsn + const ParamCustomerState + const ParamForceAcsNewWindow + const ParamForcePaymentMethod + const ParamLanguageCode + const ParamListPaymentBlock + const ParamMerchantFailUrl + const ParamMerchantSuccessUrl + const ParamMode + const ParamPaymentAmount + const ParamPaymentCurrency + const ParamPaymentDescription + const ParamPaymentExtraParam + const ParamPaymentId + const ParamProjectId + const ParamRecurringRegister + const ParamRedirect + const ParamRedirectFailMode + const ParamRedirectFailUrl + const ParamRedirectOnMobile + const ParamRedirectSuccessMode + const ParamRedirectSuccessUrl + const ParamRedirectTokenizeMode + const ParamRedirectTokenizeUrl + const ParamRegionCode + const ParamTargetElement + const ParamTerminalId + const PaymentStatusAW3DS + const PaymentStatusAWCapture + const PaymentStatusAWClarification + const PaymentStatusAWCustomer + const PaymentStatusAWRedirect + const PaymentStatusCancelled + const PaymentStatusDecline + const PaymentStatusError + const PaymentStatusPartiallyRefunded + const PaymentStatusProcessing + const PaymentStatusRefunded + const PaymentStatusReversed + const PaymentStatusSuccess + const PaymentTypePayout + const PaymentTypePurchase + const PaymentTypeRecurring + type Callback struct + func NewCallback(signatureHandler SignatureHandler, callbackData string) (*Callback, error) + func (c *Callback) GetParam(pathStr string) interface{} + func (c *Callback) GetPayment() interface{} + func (c *Callback) GetPaymentId() interface{} + func (c *Callback) GetPaymentStatus() interface{} + type Gate struct + func NewGate(secret string) *Gate + func (g *Gate) GetPaymentPageUrl(payment Payment) string + func (g *Gate) HandleCallback(callbackData string) (*Callback, error) + func (g *Gate) SetBaseUrl(url string) *Gate + type Payment struct + func NewPayment(projectId int, paymentId interface{}) *Payment + func (p *Payment) GetParams() map[string]interface{} + func (p *Payment) SetParam(key string, value interface{}) *Payment + type PaymentPage struct + func NewPaymentPage(signatureHandler SignatureHandler) *PaymentPage + func (p *PaymentPage) GetUrl(payment Payment) string + func (p *PaymentPage) SetBaseUrl(baseUrl string) *PaymentPage + type SignatureHandler struct + func NewSignatureHandler(secret string) *SignatureHandler + func (s *SignatureHandler) Check(signature string, params map[string]interface{}) bool + func (s *SignatureHandler) SetSort(sort bool) *SignatureHandler + func (s *SignatureHandler) Sign(params map[string]interface{}) string