Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptData ¶
type CryptData struct { Cmd string `ppewp:"name:cmd;type:string;default:_xclick"` // cmd = '_xclick', Business string `ppewp:"name:business;type:string"` // business = 'mein@paypalaccount.de', ItemName string `ppewp:"name:item_name;type:string"` //Test Gegenstand', // Name der Bestellung ItemNumber string `ppewp:"name:item_number;type:string"` // OderID or ItemID Amount float64 `ppewp:"name:amount;type:float64"` //00.01', // Wert ReturnUrl string `ppewp:"name:return;type:string;omitempty"` //http://www.beispiel.de/paypal_ok.php', // URL fuer erfolgreiche Zahlung ReturnUrlCancel string `ppewp:"name:cancel_return;type:string;omitempty"` //http://www.beispiel.de/paypal_cancel.php', // URL fuer Zahlungsabbruch NotifyUrl string `ppewp:"name:notify_url;type:string;omitempty"` //', NoNote int `ppewp:"name:no_note;type:string;default:0"` //1', // Keine Notizen vom Kauefer moeglich NoShipping int `ppewp:"name:no_shipping;type:string;default:0"` //1', CurrencyCode string `ppewp:"name:currency_code;type:string;default:USD"` //EUR', Lc string `ppewp:"name:lc;type:string;omitempty"` //DE', Rm int `ppewp:"name:rm;type:string;default:0"` //2', // Der return-URL werden die Paramater als POST uebergeben Bn string `ppewp:"name:bn;type:string;default:PP-BuyNowPP"` //PP-BuyNowBF', Custom string `ppewp:"name:custom;type:string;omitempty"` //Irgendwas was mitgeschickt werden soll', Invoice string `ppewp:"name:invoice;type:string;omitempty"` //', ImageUrl string `ppewp:"name:image_url;type:string;omitempty"` //', CppLogoImage string `ppewp:"name:cpp_logo_image;type:string;omitempty"` //', }
type Ewp ¶
type Ewp struct {
// contains filtered or unexported fields
}
func NewPaypalEwp ¶
func NewPaypalEwp(options EwpOptions) *Ewp
type EwpOptions ¶
type EwpOptions struct { Certificate string // Certificate resource PrivateKey string // Private key resource (matching certificate) PrivateKeyPassphrase string // Passphrase for the Private key resource (matching certificate) PaypalCertificateFile string // Path to PayPal public certificate file - if need - the current of date 2018-02-18 is included CertificateID string // ID assigned by PayPal to the $certificate. }
Click to show internal directories.
Click to hide internal directories.