فهرست منبع

feat:paypalSDK

“wangdongchao” 1 سال پیش
والد
کامیت
92ed60722d

+ 14 - 0
Asteria.xcodeproj/project.pbxproj

@@ -196,6 +196,7 @@
 		8810F5262BEDF9F900346FD4 /* ASCheckoutBottomView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8810F5252BEDF9F900346FD4 /* ASCheckoutBottomView.m */; };
 		8810F5292BEE0DEA00346FD4 /* ASCheckoutGoodsItemCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8810F5282BEE0DEA00346FD4 /* ASCheckoutGoodsItemCell.m */; };
 		8810F52C2BF1A1CD00346FD4 /* ASAddGiftGoodsView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8810F52B2BF1A1CD00346FD4 /* ASAddGiftGoodsView.m */; };
+		8810F5302BF3678400346FD4 /* ASPaypalManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 8810F52F2BF3678400346FD4 /* ASPaypalManager.m */; };
 		8C24ECE114420CDEE7B9B22B /* Pods_Asteria.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 54DCE8001991D89B696E7D44 /* Pods_Asteria.framework */; };
 		9A1247942A1B082300126226 /* Fuction_Tool.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A1247932A1B082300126226 /* Fuction_Tool.m */; };
 		9A1247972A1B0A2800126226 /* AS_ForgotC.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A1247962A1B0A2800126226 /* AS_ForgotC.m */; };
@@ -709,6 +710,8 @@
 		8810F5282BEE0DEA00346FD4 /* ASCheckoutGoodsItemCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ASCheckoutGoodsItemCell.m; sourceTree = "<group>"; };
 		8810F52A2BF1A1CD00346FD4 /* ASAddGiftGoodsView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ASAddGiftGoodsView.h; sourceTree = "<group>"; };
 		8810F52B2BF1A1CD00346FD4 /* ASAddGiftGoodsView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ASAddGiftGoodsView.m; sourceTree = "<group>"; };
+		8810F52E2BF3678400346FD4 /* ASPaypalManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ASPaypalManager.h; sourceTree = "<group>"; };
+		8810F52F2BF3678400346FD4 /* ASPaypalManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ASPaypalManager.m; sourceTree = "<group>"; };
 		9A1247922A1B082300126226 /* Fuction_Tool.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Fuction_Tool.h; sourceTree = "<group>"; };
 		9A1247932A1B082300126226 /* Fuction_Tool.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Fuction_Tool.m; sourceTree = "<group>"; };
 		9A1247952A1B0A2800126226 /* AS_ForgotC.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AS_ForgotC.h; sourceTree = "<group>"; };
@@ -1813,6 +1816,15 @@
 			path = edit;
 			sourceTree = "<group>";
 		};
+		8810F52D2BF3676900346FD4 /* PayManager */ = {
+			isa = PBXGroup;
+			children = (
+				8810F52E2BF3678400346FD4 /* ASPaypalManager.h */,
+				8810F52F2BF3678400346FD4 /* ASPaypalManager.m */,
+			);
+			path = PayManager;
+			sourceTree = "<group>";
+		};
 		9A1247912A1B07F400126226 /* Tool */ = {
 			isa = PBXGroup;
 			children = (
@@ -2036,6 +2048,7 @@
 		9A78E0112B6388F500CA4E32 /* Cart */ = {
 			isa = PBXGroup;
 			children = (
+				8810F52D2BF3676900346FD4 /* PayManager */,
 				9AFCDABF2B809C29003D3573 /* Checkout */,
 				9A2415B62B677DC000A6E903 /* Target */,
 				9A2415B52B6770D700A6E903 /* Cell */,
@@ -2734,6 +2747,7 @@
 				9A3F5CAB2B3BBEAB00DDB6A7 /* GoodsDetailsPayV.m in Sources */,
 				81C796242A4FD63A003083B8 /* ASVipCouponsViewController.m in Sources */,
 				9AEFA7DE2B649F4000AE1974 /* MyCarlTableV.m in Sources */,
+				8810F5302BF3678400346FD4 /* ASPaypalManager.m in Sources */,
 				9AFCDAC22B809C5B003D3573 /* CartCheckTableV.m in Sources */,
 				9AC2CC222B3A673B005187BD /* ASGoodsDetailsVM.m in Sources */,
 				816020252A2F1C9E00E4A8F1 /* ASHomeMainListModel.m in Sources */,

+ 9 - 0
Asteria/AppDelegate.m

@@ -9,6 +9,7 @@
 #import "AS_TabBarViewController.h"
 #import <YTKNetwork/YTKNetwork.h>
 
+#import <PayPal-iOS-SDK/PayPalMobile.h>
 
 @interface AppDelegate ()
 
@@ -26,6 +27,10 @@
     } else {
         // Fallback on earlier versions
     }
+    
+    // 设置PayPal环境,可以是 sandbox 或 live
+    [PayPalMobile initializeWithClientIdsForEnvironments:@{PayPalEnvironmentProduction:@"AT88L7L2ZI0mUNNamuY6VRVtuH8Fik6kUrKC-0HtIEpC79wJA56U8Il9iC-FJKXUtxoGkbn7DtdE8skD",PayPalEnvironmentSandbox:@"ASThYYeLhhglcED1R5LrwwjNLpyLYA5yp_8tHTYimlhojmKeC3_FFD2wS2fQp-LlfQalgJFawbEAA5Bu"}];
+    
     [ASCurrencyManager.shared getAllCurrencyData];
 //    [self xxx_ytkNetConfig];
     [PPNetworkHelper openLog];
@@ -39,6 +44,10 @@
     [ASNetTools reqNet_getAdvCoupons];
     [self.window makeKeyAndVisible];
     
+    
+    
+
+    
     return YES;
 }
 -(void)xxx_ytkNetConfig{

+ 88 - 2
Asteria/Fuction/Cart/Cart_CheckoutC.m

@@ -19,7 +19,10 @@
 
 #import "ASAddGiftGoodsView.h"
 
-@interface Cart_CheckoutC ()<RY_baseVMprotocol>
+#import <PayPal-iOS-SDK/PayPalMobile.h>
+#import <PayPal-iOS-SDK/PayPalConfiguration.h>
+
+@interface Cart_CheckoutC ()<RY_baseVMprotocol, PayPalPaymentDelegate>
 
 @property (nonatomic, strong) CartVM *VM;
 
@@ -50,15 +53,72 @@
 @property (nonatomic, assign) int index;
 @property (nonatomic, assign) int giftShowCount;
 
+//paypal支付
+@property (nonatomic, strong) PayPalConfiguration *payPalConfiguration;
+
 
 @end
 
 @implementation Cart_CheckoutC
 
+- (void)initPayPalConfiguration{
+    _payPalConfiguration = [[PayPalConfiguration alloc] init];
+    _payPalConfiguration.merchantName = @"龙熠科技有限公司";//公司名称
+    _payPalConfiguration.acceptCreditCards = NO;
+    _payPalConfiguration.payPalShippingAddressOption = PayPalShippingAddressOptionPayPal;
+}
+
+//amount:金额
+//currencyCode:获取单位 比如:USD
+//shortDescription:商品标题 简短描述
+- (void)PayPalWithAmount:(NSString *)amount currencyCode:(NSString *)currencyCode shortDescription:(NSString *)shortDescription{
+    
+    PayPalPayment *payment = [[PayPalPayment alloc] init];
+    payment.amount = [[NSDecimalNumber alloc] initWithString:amount];
+    payment.currencyCode = currencyCode;
+    payment.shortDescription = @"购买商品购买商品购买商品";
+    payment.items = nil;  // if not including multiple items, then leave payment.items as nil
+    payment.paymentDetails = nil; // if not including payment details, then leave payment.paymentDetails as nil
+    payment.intent = PayPalPaymentIntentSale;
+    if (!payment.processable) {
+        NSLog(@"-------------");
+    }
+    
+    PayPalPaymentViewController *paymentViewController = [[PayPalPaymentViewController alloc] initWithPayment:payment configuration:self.payPalConfiguration delegate:self];
+    [self presentViewController:paymentViewController animated:YES completion:nil];
+}
+
+#pragma mark - PayPalPaymentDelegate methods
+ 
+- (void)payPalPaymentViewController:(nonnull PayPalPaymentViewController *)paymentViewController
+                 didCompletePayment:(nonnull PayPalPayment *)completedPayment {
+    // 支付成功,可以处理你的支付逻辑
+    NSLog(@"支付成功: %@", completedPayment.confirmation);
+    [self dismissViewControllerAnimated:YES completion:nil];
+}
+
+- (void)payPalPaymentDidCancel:(nonnull PayPalPaymentViewController *)paymentViewController {
+    NSLog(@"支付取消");
+    [self dismissViewControllerAnimated:YES completion:nil];
+}
+
+
+- (void)viewWillAppear:(BOOL)animated {
+    [super viewWillAppear:animated];
+    
+    [PayPalMobile preconnectWithEnvironment:PayPalEnvironmentSandbox];
+
+}
+
 - (void)viewDidLoad {
     [super viewDidLoad];
     self.title = @"Checkout";
     
+//    [PayPalMobile preconnectWithEnvironment:PayPalEnvironmentSandbox];
+//    [ PayPalMobile clearAllUserData];
+    
+    [self initPayPalConfiguration];
+    
     //获取支付方式
     [self requestPaymentMode];
     //获取运输方式
@@ -466,8 +526,34 @@
 }
 //下单
 -(void)requestSureOrder{
+    
+    NSString *paymentCode = self.paymentModel.code;
+    
+    if ([paymentCode isEqualToString:@"paypal_express"]) {//paypal
+        
+        for (int i=0; i<self.totalCellM.total_segments.count; i++) {
+            NSDictionary *dic = self.totalCellM.total_segments[i];
+            NSString *code = MM_str(dic[@"code"]);
+            if ([code isEqualToString:@"grand_total"]){ //subBottomV
+                NSString *priceStr = [NSString stringWithFormat:@"%@",dic[@"value"]];
+                [self PayPalWithAmount:priceStr currencyCode:ASCurrencyManager.shared.currentCur shortDescription:@"购买商品"];
+                return;
+
+            }
+        }
+        return;
+    } else if ([paymentCode isEqualToString:@"stripe_payments"]) {//visa
+        
+    } else if ([paymentCode isEqualToString:@"afterpay_payment"]) {//afterpay
+        
+    } else if ([paymentCode isEqualToString:@"klarna_kco"]) {//klarna
+        
+    } else {
+        
+    }
+    
     [MBProgressHUD showHUDAddedTo:self.view animated:YES];
-    NSDictionary *param = @{@"method":self.paymentModel.code};
+    NSDictionary *param = @{@"method":paymentCode};
     
     [ASNetTools.shared putWithPath:Chectout_PUT_sureOrder param:@{@"paymentMethod":param} success:^(id _Nonnull json) {
         [MBProgressHUD hideHUDForView:self.view animated:YES];

+ 16 - 0
Asteria/Fuction/Cart/PayManager/ASPaypalManager.h

@@ -0,0 +1,16 @@
+//
+//  ASPaypalManager.h
+//  Asteria
+//
+//  Created by xingyu on 2024/5/14.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface ASPaypalManager : NSObject
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 22 - 0
Asteria/Fuction/Cart/PayManager/ASPaypalManager.m

@@ -0,0 +1,22 @@
+//
+//  ASPaypalManager.m
+//  Asteria
+//
+//  Created by xingyu on 2024/5/14.
+//
+
+#import "ASPaypalManager.h"
+
+#import <PayPal-iOS-SDK/PayPalMobile.h>
+#import <PayPal-iOS-SDK/PayPalConfiguration.h>
+
+@interface ASPaypalManager()
+
+//paypal支付
+@property (nonatomic, strong) PayPalConfiguration *payPalConfiguration;
+
+@end
+
+@implementation ASPaypalManager
+
+@end

+ 2 - 0
Podfile

@@ -61,6 +61,8 @@ target 'Asteria' do
   pod 'MKNetworkKit'
   
   pod 'LookinServer', :configurations => ['Debug']
+  
+  pod 'PayPal-iOS-SDK'
 
 pod 'OneSignalXCFramework', '>= 3.0.0', '< 4.0'
 

+ 14 - 2
Podfile.lock

@@ -636,6 +636,7 @@ PODS:
   - BRPickerView/StringPickerView (2.8.1):
     - BRPickerView/Base
   - Bugly (2.5.93)
+  - CardIO (5.4.1)
   - CTMediator (48)
   - FBAEMKit (16.1.0):
     - FBSDKCoreKit_Basics (= 16.1.0)
@@ -832,6 +833,12 @@ PODS:
     - OneSignalXCFramework/OneSignalOutcomes
   - OneSignalXCFramework/OneSignalOutcomes (3.12.5):
     - OneSignalXCFramework/OneSignalCore
+  - PayPal-iOS-SDK (2.18.1):
+    - PayPal-iOS-SDK/CardIO (= 2.18.1)
+    - PayPal-iOS-SDK/Core (= 2.18.1)
+  - PayPal-iOS-SDK/CardIO (2.18.1):
+    - CardIO (~> 5.4.1)
+  - PayPal-iOS-SDK/Core (2.18.1)
   - PPBadgeView (3.1.0)
   - PromisesObjC (2.2.0)
   - QMUIKit (4.6.0):
@@ -1173,6 +1180,7 @@ DEPENDENCIES:
   - MJRefresh
   - MKNetworkKit
   - OneSignalXCFramework (< 4.0, >= 3.0.0)
+  - PayPal-iOS-SDK
   - PPBadgeView
   - Reachability
   - SDWebImage
@@ -1187,6 +1195,7 @@ SPEC REPOS:
     - BoringSSL-GRPC
     - BRPickerView
     - Bugly
+    - CardIO
     - CTMediator
     - FBAEMKit
     - FBSDKCoreKit
@@ -1219,6 +1228,7 @@ SPEC REPOS:
     - MKNetworkKit
     - nanopb
     - OneSignalXCFramework
+    - PayPal-iOS-SDK
     - PPBadgeView
     - PromisesObjC
     - QMUIKit
@@ -1239,6 +1249,7 @@ SPEC CHECKSUMS:
   BoringSSL-GRPC: 3175b25143e648463a56daeaaa499c6cb86dad33
   BRPickerView: 2531a2d4d0fea0b57a1c738de215af0f88863a2f
   Bugly: b8715e6ec4004b7f7fbffab0643ba80545aee3da
+  CardIO: 56983b39b62f495fc6dae9ad7cf875143df06443
   CTMediator: 3f3578b525b3a46a7a2f92a99922ec40363f4269
   FBAEMKit: c7efe06720a8b15b1d25b68921ba46dee20996e0
   FBSDKCoreKit: ca77d40d46786157b7b31ad3516f5ad9c2315339
@@ -1271,6 +1282,7 @@ SPEC CHECKSUMS:
   MKNetworkKit: 1171bfac5c3a1cd7fea9a027f29359e1b4cab705
   nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
   OneSignalXCFramework: 4afdd14f6fa769eadf141209037e3eac5890beb9
+  PayPal-iOS-SDK: 70d56697aef502c130b9840e31dea5c6b8a350e1
   PPBadgeView: b50a223638970fd0781e8753250385864b6dd2fe
   PromisesObjC: 09985d6d70fbe7878040aa746d78236e6946d2ef
   QMUIKit: 6321cf1124623d686a9ec0a79a7cc59d0d64a52c
@@ -1281,6 +1293,6 @@ SPEC CHECKSUMS:
   YTKNetwork: c16be90b06be003de9e9cd0d3b187cc8eaf35c04
   YYCache: 8105b6638f5e849296c71f331ff83891a4942952
 
-PODFILE CHECKSUM: ba7c106e897ece4e287441c9de35990e024aa198
+PODFILE CHECKSUM: 6aef0f7cd78a40d6def250c7fc3efd31bc54ffac
 
-COCOAPODS: 1.13.0
+COCOAPODS: 1.15.2

+ 14 - 2
Pods/Manifest.lock

@@ -636,6 +636,7 @@ PODS:
   - BRPickerView/StringPickerView (2.8.1):
     - BRPickerView/Base
   - Bugly (2.5.93)
+  - CardIO (5.4.1)
   - CTMediator (48)
   - FBAEMKit (16.1.0):
     - FBSDKCoreKit_Basics (= 16.1.0)
@@ -832,6 +833,12 @@ PODS:
     - OneSignalXCFramework/OneSignalOutcomes
   - OneSignalXCFramework/OneSignalOutcomes (3.12.5):
     - OneSignalXCFramework/OneSignalCore
+  - PayPal-iOS-SDK (2.18.1):
+    - PayPal-iOS-SDK/CardIO (= 2.18.1)
+    - PayPal-iOS-SDK/Core (= 2.18.1)
+  - PayPal-iOS-SDK/CardIO (2.18.1):
+    - CardIO (~> 5.4.1)
+  - PayPal-iOS-SDK/Core (2.18.1)
   - PPBadgeView (3.1.0)
   - PromisesObjC (2.2.0)
   - QMUIKit (4.6.0):
@@ -1173,6 +1180,7 @@ DEPENDENCIES:
   - MJRefresh
   - MKNetworkKit
   - OneSignalXCFramework (< 4.0, >= 3.0.0)
+  - PayPal-iOS-SDK
   - PPBadgeView
   - Reachability
   - SDWebImage
@@ -1187,6 +1195,7 @@ SPEC REPOS:
     - BoringSSL-GRPC
     - BRPickerView
     - Bugly
+    - CardIO
     - CTMediator
     - FBAEMKit
     - FBSDKCoreKit
@@ -1219,6 +1228,7 @@ SPEC REPOS:
     - MKNetworkKit
     - nanopb
     - OneSignalXCFramework
+    - PayPal-iOS-SDK
     - PPBadgeView
     - PromisesObjC
     - QMUIKit
@@ -1239,6 +1249,7 @@ SPEC CHECKSUMS:
   BoringSSL-GRPC: 3175b25143e648463a56daeaaa499c6cb86dad33
   BRPickerView: 2531a2d4d0fea0b57a1c738de215af0f88863a2f
   Bugly: b8715e6ec4004b7f7fbffab0643ba80545aee3da
+  CardIO: 56983b39b62f495fc6dae9ad7cf875143df06443
   CTMediator: 3f3578b525b3a46a7a2f92a99922ec40363f4269
   FBAEMKit: c7efe06720a8b15b1d25b68921ba46dee20996e0
   FBSDKCoreKit: ca77d40d46786157b7b31ad3516f5ad9c2315339
@@ -1271,6 +1282,7 @@ SPEC CHECKSUMS:
   MKNetworkKit: 1171bfac5c3a1cd7fea9a027f29359e1b4cab705
   nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
   OneSignalXCFramework: 4afdd14f6fa769eadf141209037e3eac5890beb9
+  PayPal-iOS-SDK: 70d56697aef502c130b9840e31dea5c6b8a350e1
   PPBadgeView: b50a223638970fd0781e8753250385864b6dd2fe
   PromisesObjC: 09985d6d70fbe7878040aa746d78236e6946d2ef
   QMUIKit: 6321cf1124623d686a9ec0a79a7cc59d0d64a52c
@@ -1281,6 +1293,6 @@ SPEC CHECKSUMS:
   YTKNetwork: c16be90b06be003de9e9cd0d3b187cc8eaf35c04
   YYCache: 8105b6638f5e849296c71f331ff83891a4942952
 
-PODFILE CHECKSUM: ba7c106e897ece4e287441c9de35990e024aa198
+PODFILE CHECKSUM: 6aef0f7cd78a40d6def250c7fc3efd31bc54ffac
 
-COCOAPODS: 1.13.0
+COCOAPODS: 1.15.2

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 27395 - 27111
Pods/Pods.xcodeproj/project.pbxproj


+ 59 - 0
Pods/Target Support Files/Pods-Asteria-NotificationServiceExtension/Pods-Asteria-NotificationServiceExtension-acknowledgements.markdown

@@ -520,6 +520,33 @@ Copyright (C) 2017 Tencent Bugly, Inc. All rights reserved.
 MIT
 
 
+## CardIO
+
+All files are released under the MIT License:
+
+    The MIT License (MIT)
+
+    Copyright (c) 2013-2016 PayPal Holdings, Inc.
+
+    Permission is hereby granted, free of charge, to any person obtaining a copy
+    of this software and associated documentation files (the "Software"), to deal
+    in the Software without restriction, including without limitation the rights
+    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+    copies of the Software, and to permit persons to whom the Software is
+    furnished to do so, subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be included in
+    all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+    THE SOFTWARE.
+
+
 ## FBAEMKit
 
 Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
@@ -2943,6 +2970,38 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
 
 
+## PayPal-iOS-SDK
+
+The PayPalMobile header files and the PayPal iOS SDK Sample App are released under the BSD License:
+
+    Copyright (c) 2014-2016 PayPal Holdings, Inc.
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are met:
+
+    1. Redistributions of source code must retain the above copyright notice, this
+       list of conditions and the following disclaimer.
+    2. Redistributions in binary form must reproduce the above copyright notice,
+       this list of conditions and the following disclaimer in the documentation
+       and/or other materials provided with the distribution.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+    The views and conclusions contained in the software and documentation are those
+    of the authors and should not be interpreted as representing official policies,
+    either expressed or implied, of the FreeBSD Project.
+
+
 ## PromisesObjC
 
 

+ 71 - 0
Pods/Target Support Files/Pods-Asteria-NotificationServiceExtension/Pods-Asteria-NotificationServiceExtension-acknowledgements.plist

@@ -567,6 +567,39 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 			<key>Type</key>
 			<string>PSGroupSpecifier</string>
 		</dict>
+		<dict>
+			<key>FooterText</key>
+			<string>All files are released under the MIT License:
+
+    The MIT License (MIT)
+
+    Copyright (c) 2013-2016 PayPal Holdings, Inc.
+
+    Permission is hereby granted, free of charge, to any person obtaining a copy
+    of this software and associated documentation files (the "Software"), to deal
+    in the Software without restriction, including without limitation the rights
+    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+    copies of the Software, and to permit persons to whom the Software is
+    furnished to do so, subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be included in
+    all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+    THE SOFTWARE.
+</string>
+			<key>License</key>
+			<string>MIT</string>
+			<key>Title</key>
+			<string>CardIO</string>
+			<key>Type</key>
+			<string>PSGroupSpecifier</string>
+		</dict>
 		<dict>
 			<key>FooterText</key>
 			<string>Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
@@ -3158,6 +3191,44 @@ SOFTWARE.
 			<key>Type</key>
 			<string>PSGroupSpecifier</string>
 		</dict>
+		<dict>
+			<key>FooterText</key>
+			<string>The PayPalMobile header files and the PayPal iOS SDK Sample App are released under the BSD License:
+
+    Copyright (c) 2014-2016 PayPal Holdings, Inc.
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are met:
+
+    1. Redistributions of source code must retain the above copyright notice, this
+       list of conditions and the following disclaimer.
+    2. Redistributions in binary form must reproduce the above copyright notice,
+       this list of conditions and the following disclaimer in the documentation
+       and/or other materials provided with the distribution.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+    The views and conclusions contained in the software and documentation are those
+    of the authors and should not be interpreted as representing official policies,
+    either expressed or implied, of the FreeBSD Project.
+</string>
+			<key>License</key>
+			<string>BSD</string>
+			<key>Title</key>
+			<string>PayPal-iOS-SDK</string>
+			<key>Type</key>
+			<string>PSGroupSpecifier</string>
+		</dict>
 		<dict>
 			<key>FooterText</key>
 			<string>

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 3 - 3
Pods/Target Support Files/Pods-Asteria-NotificationServiceExtension/Pods-Asteria-NotificationServiceExtension.debug.xcconfig


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 3 - 3
Pods/Target Support Files/Pods-Asteria-NotificationServiceExtension/Pods-Asteria-NotificationServiceExtension.release.xcconfig


+ 59 - 0
Pods/Target Support Files/Pods-Asteria/Pods-Asteria-acknowledgements.markdown

@@ -520,6 +520,33 @@ Copyright (C) 2017 Tencent Bugly, Inc. All rights reserved.
 MIT
 
 
+## CardIO
+
+All files are released under the MIT License:
+
+    The MIT License (MIT)
+
+    Copyright (c) 2013-2016 PayPal Holdings, Inc.
+
+    Permission is hereby granted, free of charge, to any person obtaining a copy
+    of this software and associated documentation files (the "Software"), to deal
+    in the Software without restriction, including without limitation the rights
+    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+    copies of the Software, and to permit persons to whom the Software is
+    furnished to do so, subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be included in
+    all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+    THE SOFTWARE.
+
+
 ## FBAEMKit
 
 Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
@@ -2943,6 +2970,38 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
 
 
+## PayPal-iOS-SDK
+
+The PayPalMobile header files and the PayPal iOS SDK Sample App are released under the BSD License:
+
+    Copyright (c) 2014-2016 PayPal Holdings, Inc.
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are met:
+
+    1. Redistributions of source code must retain the above copyright notice, this
+       list of conditions and the following disclaimer.
+    2. Redistributions in binary form must reproduce the above copyright notice,
+       this list of conditions and the following disclaimer in the documentation
+       and/or other materials provided with the distribution.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+    The views and conclusions contained in the software and documentation are those
+    of the authors and should not be interpreted as representing official policies,
+    either expressed or implied, of the FreeBSD Project.
+
+
 ## PromisesObjC
 
 

+ 71 - 0
Pods/Target Support Files/Pods-Asteria/Pods-Asteria-acknowledgements.plist

@@ -567,6 +567,39 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 			<key>Type</key>
 			<string>PSGroupSpecifier</string>
 		</dict>
+		<dict>
+			<key>FooterText</key>
+			<string>All files are released under the MIT License:
+
+    The MIT License (MIT)
+
+    Copyright (c) 2013-2016 PayPal Holdings, Inc.
+
+    Permission is hereby granted, free of charge, to any person obtaining a copy
+    of this software and associated documentation files (the "Software"), to deal
+    in the Software without restriction, including without limitation the rights
+    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+    copies of the Software, and to permit persons to whom the Software is
+    furnished to do so, subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be included in
+    all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+    THE SOFTWARE.
+</string>
+			<key>License</key>
+			<string>MIT</string>
+			<key>Title</key>
+			<string>CardIO</string>
+			<key>Type</key>
+			<string>PSGroupSpecifier</string>
+		</dict>
 		<dict>
 			<key>FooterText</key>
 			<string>Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
@@ -3158,6 +3191,44 @@ SOFTWARE.
 			<key>Type</key>
 			<string>PSGroupSpecifier</string>
 		</dict>
+		<dict>
+			<key>FooterText</key>
+			<string>The PayPalMobile header files and the PayPal iOS SDK Sample App are released under the BSD License:
+
+    Copyright (c) 2014-2016 PayPal Holdings, Inc.
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are met:
+
+    1. Redistributions of source code must retain the above copyright notice, this
+       list of conditions and the following disclaimer.
+    2. Redistributions in binary form must reproduce the above copyright notice,
+       this list of conditions and the following disclaimer in the documentation
+       and/or other materials provided with the distribution.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+    The views and conclusions contained in the software and documentation are those
+    of the authors and should not be interpreted as representing official policies,
+    either expressed or implied, of the FreeBSD Project.
+</string>
+			<key>License</key>
+			<string>BSD</string>
+			<key>Title</key>
+			<string>PayPal-iOS-SDK</string>
+			<key>Type</key>
+			<string>PSGroupSpecifier</string>
+		</dict>
 		<dict>
 			<key>FooterText</key>
 			<string>

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 3 - 3
Pods/Target Support Files/Pods-Asteria/Pods-Asteria.debug.xcconfig


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 3 - 3
Pods/Target Support Files/Pods-Asteria/Pods-Asteria.release.xcconfig