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
6f431f8d
Commit
6f431f8d
authored
May 20, 2016
by
Gabriel O'Flaherty-Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove checkout property
parent
d6ae1226
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
BUYApplePayAuthorizationDelegate.m
...K/Mobile Buy SDK/Utils/BUYApplePayAuthorizationDelegate.m
+3
-5
No files found.
Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAuthorizationDelegate.m
View file @
6f431f8d
...
@@ -39,8 +39,6 @@ const NSTimeInterval PollDelay = 0.5;
...
@@ -39,8 +39,6 @@ const NSTimeInterval PollDelay = 0.5;
@interface
BUYApplePayAuthorizationDelegate
()
@interface
BUYApplePayAuthorizationDelegate
()
@property
(
nonatomic
,
strong
)
BUYCheckout
*
checkout
;
@property
(
nonatomic
,
strong
)
NSArray
*
shippingRates
;
@property
(
nonatomic
,
strong
)
NSArray
*
shippingRates
;
@property
(
nonatomic
,
strong
)
NSError
*
lastError
;
@property
(
nonatomic
,
strong
)
NSError
*
lastError
;
...
@@ -150,7 +148,7 @@ const NSTimeInterval PollDelay = 0.5;
...
@@ -150,7 +148,7 @@ const NSTimeInterval PollDelay = 0.5;
[
self
.
client
updateCheckout
:
self
.
checkout
completion
:
^
(
BUYCheckout
*
checkout
,
NSError
*
error
)
{
[
self
.
client
updateCheckout
:
self
.
checkout
completion
:
^
(
BUYCheckout
*
checkout
,
NSError
*
error
)
{
if
(
checkout
&&
error
==
nil
)
{
if
(
checkout
&&
error
==
nil
)
{
self
.
checkout
=
checkout
;
_
checkout
=
checkout
;
}
}
else
{
else
{
self
.
lastError
=
error
;
self
.
lastError
=
error
;
...
@@ -174,7 +172,7 @@ const NSTimeInterval PollDelay = 0.5;
...
@@ -174,7 +172,7 @@ const NSTimeInterval PollDelay = 0.5;
[
self
.
client
updateCheckout
:
self
.
checkout
completion
:
^
(
BUYCheckout
*
checkout
,
NSError
*
error
)
{
[
self
.
client
updateCheckout
:
self
.
checkout
completion
:
^
(
BUYCheckout
*
checkout
,
NSError
*
error
)
{
if
(
checkout
&&
error
==
nil
)
{
if
(
checkout
&&
error
==
nil
)
{
self
.
checkout
=
checkout
;
_
checkout
=
checkout
;
[
self
getShippingRates
:
self
.
checkout
completion
:
completion
];
[
self
getShippingRates
:
self
.
checkout
completion
:
completion
];
}
}
else
{
else
{
...
@@ -218,7 +216,7 @@ const NSTimeInterval PollDelay = 0.5;
...
@@ -218,7 +216,7 @@ const NSTimeInterval PollDelay = 0.5;
if
([
shippingMethods
count
]
>
0
)
{
if
([
shippingMethods
count
]
>
0
)
{
[
self
selectShippingMethod
:
shippingMethods
[
0
]
completion
:
^
(
BUYCheckout
*
checkout
,
NSError
*
error
)
{
[
self
selectShippingMethod
:
shippingMethods
[
0
]
completion
:
^
(
BUYCheckout
*
checkout
,
NSError
*
error
)
{
if
(
checkout
&&
error
==
nil
)
{
if
(
checkout
&&
error
==
nil
)
{
self
.
checkout
=
checkout
;
_
checkout
=
checkout
;
}
}
completion
(
error
?
PKPaymentAuthorizationStatusFailure
:
PKPaymentAuthorizationStatusSuccess
,
shippingMethods
,
[
self
.
checkout
buy_summaryItemsWithShopName
:
self
.
shopName
]);
completion
(
error
?
PKPaymentAuthorizationStatusFailure
:
PKPaymentAuthorizationStatusSuccess
,
shippingMethods
,
[
self
.
checkout
buy_summaryItemsWithShopName
:
self
.
shopName
]);
}];
}];
...
...
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