Skip to content

Commit

Permalink
Update CoreSDK
Browse files Browse the repository at this point in the history
  • Loading branch information
tien.vu committed Jul 7, 2017
1 parent b57aac7 commit 59048fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Core SDK/Headers/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ typedef NS_ENUM(NSUInteger, PaymentType) {
typedef NS_ENUM(NSUInteger, PaymentResponseCode) {
SUCCESSFUL = 0,
FAILED = 1,
CANCEL = 2
CANCEL = 2,
MERCHANT_PROCESSING = 3
};


Expand Down
12 changes: 6 additions & 6 deletions Core SDK/Headers/PWCoreSDKResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ extern NSString * _Nonnull const PAYMENT_CANCELED;

@property (nonatomic, assign) PaymentResponseCode responseCode;
@property (nonatomic, assign) PaymentType paymentType;
@property (nonatomic, strong) NSString * _Nullable paymentName;
@property (nonatomic, strong) NSString * _Nullable paymentAmount;
@property (nonatomic, strong) NSString * _Nullable paymentCurrency;
@property (nonatomic, strong) NSString * _Nullable userID;
@property (nonatomic, strong) NSString * _Nonnull paymentName;
@property (nonatomic, strong) NSString * _Nonnull paymentAmount;
@property (nonatomic, strong) NSString * _Nonnull paymentCurrency;
@property (nonatomic, strong) NSString * _Nonnull userID;
@property (nonatomic, strong) NSString * _Nonnull message;
@property (nonatomic, strong) NSString * _Nullable productID;
@property (nonatomic, strong) NSString * _Nullable userEmail;
@property (nonatomic, strong) NSString * _Nonnull productID;
@property (nonatomic, strong) BrickToken * _Nullable token;
@property (nonatomic, strong) NSDictionary <NSString *, NSString *> * _Nullable others;

@end
1 change: 1 addition & 0 deletions PWWechatpayPlugin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Pod::Spec.new do |s|
s.dependency 'PWCoreSDK', '~> 2.0.0'

s.subspec 'Wechatpay' do |sp|
sp.source_files = "Plugins/PWWechatpayPlugin/Wechatpay/*.{h,m}"
sp.vendored_libraries = "Plugins/PWWechatpayPlugin/Wechatpay/libWeChatSDK.a"
sp.libraries = 'z', 'c++', 'sqlite3.0'
sp.frameworks = 'UIKit', 'SystemConfiguration', 'Foundation', 'CoreTelephony', 'Security'
Expand Down

0 comments on commit 59048fb

Please sign in to comment.