Documentation
¶
Index ¶
- Constants
- func New(identityData IdentityData) *behpardakht
- func NewPaymentRequest(orderId string, amount uint64, callBackUrl string, payerId string) *paymentRequest
- func NewVerifyRequest(orderId string, saleOrderId string, saleReferenceId string) *verifyRequest
- type IdentityData
- type PaymentResponse
- type VerifyResponse
Constants ¶
View Source
const ( CREATE_TRANSACTION_URL = "https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl" VERIFY_TRANSACTION_URL = "https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl" TERMINAL_URL = "https://bpm.shaparak.ir/pgwchannel/startpay.mellat" )
View Source
const Success = -1
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( identityData IdentityData, ) *behpardakht
func NewPaymentRequest ¶
func NewVerifyRequest ¶
Types ¶
type IdentityData ¶
type PaymentResponse ¶
type VerifyResponse ¶
Click to show internal directories.
Click to hide internal directories.