-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Shipping Callback URL to BTPayPalCheckoutRequest
#1451
Add Shipping Callback URL to BTPayPalCheckoutRequest
#1451
Conversation
Did we revert #1429 on the feature brach? |
Yes [DTMOBILES-1215], I accidentally recreated the feature branch |
@@ -98,20 +101,24 @@ import BraintreeCore | |||
/// See https://developer.paypal.com/docs/api/reference/currency-codes/ for a list of supported currency codes. | |||
/// - requestBillingAgreement: Optional: If set to `true`, this enables the Checkout with Vault flow, where the customer will be prompted to consent to a billing agreement | |||
/// during checkout. Defaults to `false`. | |||
/// - shippingCallbackURL: Optional: Server side shipping callback URL to be notified when a customer updates their shipping address or options. | |||
/// A callback request will be sent to the merchant server at this URL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit - does this line 105 appear under the shippingCallbackURL
param docstring? Or since it's a newline it might appear in the general function description. (I'm admin-ed out of Xcode right now or else I'd check the preview)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Summary of changes
BTPayPalCheckoutRequest
and pass it to support server-side shipping callbacks. Shipping callbacks should only be available for PayPal checkout flows.Checklist
Authors