Skip to content

Commit

Permalink
Reverts BECS for v19.1.0 (#1546)
Browse files Browse the repository at this point in the history
* Revert "Adds payment details entry UI for AU BECS Debit (#1535)"

This reverts commit a14410f.

* Revert "Adds API bindings for AU BECS Debit PaymentMethod (#1518)"

This reverts commit c8a50b3.
  • Loading branch information
csabol-stripe authored Apr 15, 2020
1 parent 2f8d5a1 commit 4cc8ce3
Show file tree
Hide file tree
Showing 233 changed files with 227 additions and 4,718 deletions.
6 changes: 0 additions & 6 deletions Example/Non-Card Payment Examples.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
04D076171A69C11600094431 /* Stripe.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 04533F0C1A68812D00C7E52E /* Stripe.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
31A8934D230F6ABD007ABE37 /* FPXExampleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 31A8934C230F6ABD007ABE37 /* FPXExampleViewController.m */; };
31C108D823677C0100FE91B7 /* KlarnaExampleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31C108D723677C0100FE91B7 /* KlarnaExampleViewController.swift */; };
364FC2D024201F62002879EB /* AUBECSDebitExampleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 364FC2CF24201F62002879EB /* AUBECSDebitExampleViewController.m */; };
366F93B0225FF2A2005CFBF6 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = 366F93AF225FF2A2005CFBF6 /* README.md */; };
36B6CB5A234BE3FA00331C38 /* PaymentExampleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 36B6CB59234BE3FA00331C38 /* PaymentExampleViewController.m */; };
36B6CB5D234BEB8400331C38 /* SEPADebitExampleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 36B6CB5C234BEB8400331C38 /* SEPADebitExampleViewController.m */; };
Expand Down Expand Up @@ -64,8 +63,6 @@
31A8934B230F6ABD007ABE37 /* FPXExampleViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FPXExampleViewController.h; sourceTree = "<group>"; };
31A8934C230F6ABD007ABE37 /* FPXExampleViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FPXExampleViewController.m; sourceTree = "<group>"; };
31C108D723677C0100FE91B7 /* KlarnaExampleViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KlarnaExampleViewController.swift; sourceTree = "<group>"; };
364FC2CE24201F62002879EB /* AUBECSDebitExampleViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AUBECSDebitExampleViewController.h; sourceTree = "<group>"; };
364FC2CF24201F62002879EB /* AUBECSDebitExampleViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AUBECSDebitExampleViewController.m; sourceTree = "<group>"; };
366F93AF225FF2A2005CFBF6 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = "Non-Card Payment Examples/README.md"; sourceTree = "<group>"; };
36B6CB58234BE3FA00331C38 /* PaymentExampleViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PaymentExampleViewController.h; sourceTree = "<group>"; };
36B6CB59234BE3FA00331C38 /* PaymentExampleViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PaymentExampleViewController.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -164,8 +161,6 @@
04533E8A1A687F5D00C7E52E /* Supporting Files */,
B65E8FCA22FA078A0057E64A /* WeChatPayExampleViewController.h */,
B65E8FCB22FA078A0057E64A /* WeChatPayExampleViewController.m */,
364FC2CE24201F62002879EB /* AUBECSDebitExampleViewController.h */,
364FC2CF24201F62002879EB /* AUBECSDebitExampleViewController.m */,
);
path = "Non-Card Payment Examples";
sourceTree = "<group>";
Expand Down Expand Up @@ -309,7 +304,6 @@
31A8934D230F6ABD007ABE37 /* FPXExampleViewController.m in Sources */,
36B6CB5D234BEB8400331C38 /* SEPADebitExampleViewController.m in Sources */,
C12C50DD1E57B3C800EC6D58 /* BrowseExamplesViewController.m in Sources */,
364FC2D024201F62002879EB /* AUBECSDebitExampleViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down

This file was deleted.

113 changes: 0 additions & 113 deletions Example/Non-Card Payment Examples/AUBECSDebitExampleViewController.m

This file was deleted.

12 changes: 1 addition & 11 deletions Example/Non-Card Payment Examples/BrowseExamplesViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#import "BrowseExamplesViewController.h"

#import "ApplePayExampleViewController.h"
#import "AUBECSDebitExampleViewController.h"
#import "iDEALExampleViewController.h"
#import "SofortExampleViewController.h"
#import "FPXExampleViewController.h"
Expand All @@ -39,7 +38,7 @@ - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return 10;
return 9;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
Expand Down Expand Up @@ -72,9 +71,6 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
case 8:
cell.textLabel.text = @"Bacs Debit";
break;
case 9:
cell.textLabel.text = @"AU BECS Debit";
break;
}
return cell;
}
Expand Down Expand Up @@ -143,12 +139,6 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
viewController = exampleVC;
break;
}
case 9: {
AUBECSDebitExampleViewController *exampleVC = [AUBECSDebitExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
}
[self.navigationController pushViewController:viewController animated:YES];
}
Expand Down
4 changes: 0 additions & 4 deletions Example/UI Examples.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
objects = {

/* Begin PBXBuildFile section */
364FC2D2242024CE002879EB /* AUBECSDebitFormViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 364FC2D1242024CE002879EB /* AUBECSDebitFormViewController.swift */; };
C1140CC11F1EC0FC002084AB /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1140CC01F1EC0FC002084AB /* AppDelegate.swift */; };
C1140CC31F1EC0FC002084AB /* BrowseViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1140CC21F1EC0FC002084AB /* BrowseViewController.swift */; };
C1140CC81F1EC0FC002084AB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C1140CC71F1EC0FC002084AB /* Assets.xcassets */; };
Expand Down Expand Up @@ -35,7 +34,6 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
364FC2D1242024CE002879EB /* AUBECSDebitFormViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AUBECSDebitFormViewController.swift; sourceTree = "<group>"; };
8BBD79D4207FD4CA00F85BED /* fi */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = fi; path = Localizations/fi.lproj/Localizable.strings; sourceTree = "<group>"; };
8BBD79D5207FD4DC00F85BED /* nb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = nb; path = Localizations/nb.lproj/Localizable.strings; sourceTree = "<group>"; };
C1140CBD1F1EC0FC002084AB /* Stripe UI Examples.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Stripe UI Examples.app"; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -101,7 +99,6 @@
C1140CC71F1EC0FC002084AB /* Assets.xcassets */,
C1140CCC1F1EC0FC002084AB /* Info.plist */,
C1A5E73C1F293EAF00E0C891 /* Localizable.strings */,
364FC2D1242024CE002879EB /* AUBECSDebitFormViewController.swift */,
);
path = "UI Examples";
sourceTree = "<group>";
Expand Down Expand Up @@ -196,7 +193,6 @@
buildActionMask = 2147483647;
files = (
C1A658E51F1EC7F500799757 /* MockCustomerContext.swift in Sources */,
364FC2D2242024CE002879EB /* AUBECSDebitFormViewController.swift in Sources */,
C1140CC31F1EC0FC002084AB /* BrowseViewController.swift in Sources */,
C1A658E71F1ED05500799757 /* MockAPIClient.swift in Sources */,
C13A00581F1FFEC200825683 /* CardFieldViewController.swift in Sources */,
Expand Down
41 changes: 0 additions & 41 deletions Example/UI Examples/AUBECSDebitFormViewController.swift

This file was deleted.

11 changes: 1 addition & 10 deletions Example/UI Examples/BrowseViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ import Stripe
class BrowseViewController: UITableViewController, STPAddCardViewControllerDelegate, STPPaymentOptionsViewControllerDelegate, STPShippingAddressViewControllerDelegate {

enum Demo: Int {
static let count = 8
static let count = 7
case STPPaymentCardTextField
case STPAddCardViewController
case STPAddCardViewControllerWithAddress
case STPPaymentOptionsViewController
case STPPaymentOptionsFPXViewController
case STPShippingInfoViewController
case STPAUBECSFormViewController
case ChangeTheme

var title: String {
Expand All @@ -30,7 +29,6 @@ class BrowseViewController: UITableViewController, STPAddCardViewControllerDeleg
case .STPPaymentOptionsViewController: return "Payment Option Picker"
case .STPPaymentOptionsFPXViewController: return "Payment Option Picker (With FPX)"
case .STPShippingInfoViewController: return "Shipping Info Form"
case .STPAUBECSFormViewController: return "AU BECS Form"
case .ChangeTheme: return "Change Theme"
}
}
Expand All @@ -43,7 +41,6 @@ class BrowseViewController: UITableViewController, STPAddCardViewControllerDeleg
case .STPPaymentOptionsViewController: return "STPPaymentOptionsViewController"
case .STPPaymentOptionsFPXViewController: return "STPPaymentOptionsViewController"
case .STPShippingInfoViewController: return "STPShippingInfoViewController"
case .STPAUBECSFormViewController: return "STPAUBECSFormViewController"
case .ChangeTheme: return ""
}
}
Expand Down Expand Up @@ -147,12 +144,6 @@ class BrowseViewController: UITableViewController, STPAddCardViewControllerDeleg
let navigationController = UINavigationController(rootViewController: viewController)
navigationController.navigationBar.stp_theme = theme
present(navigationController, animated: true, completion: nil)
case .STPAUBECSFormViewController:
let viewController = AUBECSDebitFormViewController()
viewController.theme = theme
let navigationController = UINavigationController(rootViewController: viewController)
navigationController.navigationBar.stp_theme = theme
present(navigationController, animated: true, completion: nil)
case .ChangeTheme:
let navigationController = UINavigationController(rootViewController: self.themeViewController)
present(navigationController, animated: true, completion: nil)
Expand Down
4 changes: 2 additions & 2 deletions Stripe.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Pod::Spec.new do |s|
s.platform = :ios
s.ios.deployment_target = '10.0'
s.public_header_files = 'Stripe/PublicHeaders/*.h'
s.source_files = 'Stripe/PublicHeaders/*.h', 'Stripe/*.{h,m}', 'Stripe/Payments/*.{h,m}'
s.source_files = 'Stripe/PublicHeaders/*.h', 'Stripe/*.{h,m}', 'Stripe/Payments/*{h,m}'
s.vendored_libraries = 'InternalFrameworks/libStripe3DS2.a'
s.ios.resource_bundle = { 'Stripe' => 'Stripe/Resources/**/*.{lproj,json,png,xcassets}' }
s.ios.resource_bundle = { 'Stripe' => 'Stripe/Resources/**/*' }
s.ios.resources = "InternalFrameworks/Stripe3DS2.bundle"
s.xcconfig = {
"OTHER_LDFLAGS" => "$(inherited) -ObjC"
Expand Down
Loading

0 comments on commit 4cc8ce3

Please sign in to comment.