bring back landing_page option since commit #d355a65df01285c6aa4003099f8bfcb1a48ab517 (#251)

This commit is contained in:
ihipop 2022-11-18 22:34:38 +08:00 committed by GitHub
parent 4c16ffad0a
commit ebf596676e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,14 +192,14 @@ type (
}
// ApplicationContext struct
//Doc: https://developer.paypal.com/docs/api/subscriptions/v1/#definition-application_context
//Doc: https://developer.paypal.com/docs/api/orders/v2/#definition-application_context
ApplicationContext struct {
BrandName string `json:"brand_name,omitempty"`
Locale string `json:"locale,omitempty"`
ShippingPreference ShippingPreference `json:"shipping_preference,omitempty"`
UserAction UserAction `json:"user_action,omitempty"`
PaymentMethod PaymentMethod `json:"payment_method,omitempty"`
//LandingPage string `json:"landing_page,omitempty"` // not found in documentation
LandingPage string `json:"landing_page,omitempty"`
ReturnURL string `json:"return_url,omitempty"`
CancelURL string `json:"cancel_url,omitempty"`
}