Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// PaypalSession The global paypal session
PaypalSession *paypalsdk.Client
)
Functions ¶
func ExecutePayment ¶
ExecutePayment will finalize and execute an approved PayPal payment
func MakePaypalDonation ¶
func MakePaypalDonation(amount paypalsdk.Amount) *paypalsdk.CreatePaymentResp
MakePaypalDonation will create a paypal payment and return the CreatePaymentResponse object with relevant links It will also store the payment object within the database for retrieval in the future.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.