Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shopify_iossdk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
shopify_iossdk
Commits
4e176302
Commit
4e176302
authored
Oct 19, 2015
by
Rune Madsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix shipping rate issue for Apple Pay
parent
d33f318e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
BUYCheckout.m
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout.m
+1
-1
BUYAddress+Additions.m
Mobile Buy SDK/Mobile Buy SDK/Utils/BUYAddress+Additions.m
+0
-1
BUYApplePayHelpers.m
Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayHelpers.m
+1
-2
No files found.
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout.m
View file @
4e176302
...
...
@@ -53,7 +53,7 @@
-
(
instancetype
)
initWithCart
:
(
BUYCart
*
)
cart
{
self
=
[
super
init
WithDictionary
:@{}
];
self
=
[
super
init
];
if
(
self
)
{
_lineItems
=
[
cart
.
lineItems
copy
];
[
self
markPropertyAsDirty
:
@"lineItems"
];
...
...
Mobile Buy SDK/Mobile Buy SDK/Utils/BUYAddress+Additions.m
View file @
4e176302
...
...
@@ -57,5 +57,4 @@ NSString * const BUYPartialAddressPlaceholder = @"---";
return
valid
;
}
@end
Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayHelpers.m
View file @
4e176302
...
...
@@ -264,8 +264,7 @@ const NSTimeInterval PollDelay = 0.5;
self
.
shippingRates
=
shippingRates
;
if
([
self
.
shippingRates
count
]
==
0
)
{
// Shipping address not supported
self
.
checkout
.
shippingRate
=
nil
;
// Shipping address is not supported and no shipping rates were returned
if
(
completion
)
{
completion
(
PKPaymentAuthorizationStatusInvalidShippingPostalAddress
,
nil
,
[
self
.
checkout
buy_summaryItemsWithShopName
:
self
.
shop
.
name
]);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment