Skip to content

Commit

Permalink
Added Button checkout for CAP
Browse files Browse the repository at this point in the history
  • Loading branch information
mmroz committed May 29, 2024
1 parent a3eb296 commit 44b6be8
Show file tree
Hide file tree
Showing 13 changed files with 940 additions and 0 deletions.
40 changes: 40 additions & 0 deletions Afterpay.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@
557511BF2644CAA50040CC51 /* WKWebView+Cache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 557511BE2644CAA50040CC51 /* WKWebView+Cache.swift */; };
557511C12644D0890040CC51 /* WKWebViewConfiguration+UserAgent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 557511C02644D0890040CC51 /* WKWebViewConfiguration+UserAgent.swift */; };
55A2D307261BB36C00D8E23A /* Money.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55A2D306261BB36C00D8E23A /* Money.swift */; };
5F1A7A742C064F8300A52880 /* CheckoutV3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F1A7A732C064F8300A52880 /* CheckoutV3.swift */; };
5F1A7A762C0650F900A52880 /* ConfirmationV3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F1A7A752C0650F900A52880 /* ConfirmationV3.swift */; };
5F1A7A782C06512800A52880 /* CheckoutV3Protocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F1A7A772C06512800A52880 /* CheckoutV3Protocols.swift */; };
5F1A7A7A2C06515800A52880 /* CheckoutV3Card.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F1A7A792C06515800A52880 /* CheckoutV3Card.swift */; };
5F1A7A7C2C0651AF00A52880 /* AfterpayV3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F1A7A7B2C0651AF00A52880 /* AfterpayV3.swift */; };
5F1A7A7E2C06529700A52880 /* ApiV3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F1A7A7D2C06529700A52880 /* ApiV3.swift */; };
5F1A7A802C0653E800A52880 /* OrderTotal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F1A7A7F2C0653E800A52880 /* OrderTotal.swift */; };
5F1A7A822C077B0000A52880 /* ConfirmationV3+CashAppPay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F1A7A812C077B0000A52880 /* ConfirmationV3+CashAppPay.swift */; };
5F1A7A842C07AF8100A52880 /* Consumer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F1A7A832C07AF8100A52880 /* Consumer.swift */; };
5F1A7A862C07BE8000A52880 /* CheckoutV3CashAppPayResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F1A7A852C07BE8000A52880 /* CheckoutV3CashAppPayResult.swift */; };
6602EF0F25358A8000A0468C /* ColorScheme.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6602EF0E25358A8000A0468C /* ColorScheme.swift */; };
6605666324E5199500DA588E /* Locales.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6605666224E5199500DA588E /* Locales.swift */; };
66169312257A06B200DF6CF4 /* CheckoutV2Message.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66169311257A06B200DF6CF4 /* CheckoutV2Message.swift */; };
Expand Down Expand Up @@ -130,6 +140,16 @@
557511BE2644CAA50040CC51 /* WKWebView+Cache.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WKWebView+Cache.swift"; sourceTree = "<group>"; };
557511C02644D0890040CC51 /* WKWebViewConfiguration+UserAgent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WKWebViewConfiguration+UserAgent.swift"; sourceTree = "<group>"; };
55A2D306261BB36C00D8E23A /* Money.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Money.swift; sourceTree = "<group>"; };
5F1A7A732C064F8300A52880 /* CheckoutV3.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheckoutV3.swift; sourceTree = "<group>"; };
5F1A7A752C0650F900A52880 /* ConfirmationV3.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConfirmationV3.swift; sourceTree = "<group>"; };
5F1A7A772C06512800A52880 /* CheckoutV3Protocols.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheckoutV3Protocols.swift; sourceTree = "<group>"; };
5F1A7A792C06515800A52880 /* CheckoutV3Card.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheckoutV3Card.swift; sourceTree = "<group>"; };
5F1A7A7B2C0651AF00A52880 /* AfterpayV3.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AfterpayV3.swift; sourceTree = "<group>"; };
5F1A7A7D2C06529700A52880 /* ApiV3.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ApiV3.swift; sourceTree = "<group>"; };
5F1A7A7F2C0653E800A52880 /* OrderTotal.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OrderTotal.swift; sourceTree = "<group>"; };
5F1A7A812C077B0000A52880 /* ConfirmationV3+CashAppPay.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "ConfirmationV3+CashAppPay.swift"; sourceTree = "<group>"; };
5F1A7A832C07AF8100A52880 /* Consumer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Consumer.swift; sourceTree = "<group>"; };
5F1A7A852C07BE8000A52880 /* CheckoutV3CashAppPayResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheckoutV3CashAppPayResult.swift; sourceTree = "<group>"; };
6602EF0E25358A8000A0468C /* ColorScheme.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ColorScheme.swift; sourceTree = "<group>"; };
6605666224E5199500DA588E /* Locales.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Locales.swift; sourceTree = "<group>"; };
66169311257A06B200DF6CF4 /* CheckoutV2Message.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheckoutV2Message.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -213,6 +233,8 @@
4509D358294017C500952DAD /* CashAppSigningResponse.swift */,
4509D356293FFB5200952DAD /* CashAppPayCheckout.swift */,
458E7D36296E1F9D001B696F /* CashAppSigningResult.swift */,
5F1A7A812C077B0000A52880 /* ConfirmationV3+CashAppPay.swift */,
5F1A7A852C07BE8000A52880 /* CheckoutV3CashAppPayResult.swift */,
);
path = CashApp;
sourceTree = "<group>";
Expand Down Expand Up @@ -335,6 +357,8 @@
children = (
4509D35C2941642900952DAD /* CashApp */,
66F9767B2499A11A001D38FA /* Afterpay.swift */,
5F1A7A7D2C06529700A52880 /* ApiV3.swift */,
5F1A7A7B2C0651AF00A52880 /* AfterpayV3.swift */,
551BEDEA25F983E200FDF9EE /* Features.swift */,
946388FB24DD05D400A1227A /* Checkout */,
157E88CF25CBCA22007E54C4 /* Helpers */,
Expand Down Expand Up @@ -366,6 +390,9 @@
42927C38274209B600B26435 /* ShippingOptionUpdate.swift */,
42087EE627A746F700BE5442 /* MoreInfoOptions.swift */,
45BFEB9727ED27EF00A4AE48 /* Brand.swift */,
5F1A7A792C06515800A52880 /* CheckoutV3Card.swift */,
5F1A7A7F2C0653E800A52880 /* OrderTotal.swift */,
5F1A7A832C07AF8100A52880 /* Consumer.swift */,
);
path = Model;
sourceTree = "<group>";
Expand Down Expand Up @@ -410,6 +437,9 @@
66169311257A06B200DF6CF4 /* CheckoutV2Message.swift */,
66B54587256B3FD9002B3DD5 /* CheckoutV2ViewController.swift */,
667AD3532497121100BF94E5 /* CheckoutWebViewController.swift */,
5F1A7A732C064F8300A52880 /* CheckoutV3.swift */,
5F1A7A752C0650F900A52880 /* ConfirmationV3.swift */,
5F1A7A772C06512800A52880 /* CheckoutV3Protocols.swift */,
);
path = Checkout;
sourceTree = "<group>";
Expand Down Expand Up @@ -600,41 +630,51 @@
66483F3B24D7A164000BE6B5 /* PriceBreakdownView.swift in Sources */,
6602EF0F25358A8000A0468C /* ColorScheme.swift in Sources */,
42087EE727A746F700BE5442 /* MoreInfoOptions.swift in Sources */,
5F1A7A822C077B0000A52880 /* ConfirmationV3+CashAppPay.swift in Sources */,
66B5458C256B65B7002B3DD5 /* CheckoutHost.swift in Sources */,
66169312257A06B200DF6CF4 /* CheckoutV2Message.swift in Sources */,
45144E7427FD11470061EBE8 /* AfterpayBundleFinder.swift in Sources */,
666818202591CB9800A2003E /* Alerts.swift in Sources */,
45144E7027FCEFA30061EBE8 /* LockupView.swift in Sources */,
6689536C24C96CB5005090B4 /* Configuration.swift in Sources */,
5F1A7A742C064F8300A52880 /* CheckoutV3.swift in Sources */,
42927C39274209B600B26435 /* ShippingOptionUpdate.swift in Sources */,
15F7DDB725393BD30011EC25 /* CurrencyFormatter.swift in Sources */,
4509D35B2940192400952DAD /* JWT.swift in Sources */,
66DAAC8B24E0CF0100127460 /* PriceBreakdown.swift in Sources */,
4288AB7627BC8C84009C9B69 /* LayeredImageView.swift in Sources */,
5F1A7A7E2C06529700A52880 /* ApiV3.swift in Sources */,
5F1A7A862C07BE8000A52880 /* CheckoutV3CashAppPayResult.swift in Sources */,
4509D357293FFB5200952DAD /* CashAppPayCheckout.swift in Sources */,
45BFEB9827ED27EF00A4AE48 /* Brand.swift in Sources */,
551BEDFC25F9C56600FDF9EE /* WidgetEvent.swift in Sources */,
5F1A7A7A2C06515800A52880 /* CheckoutV3Card.swift in Sources */,
42270B6F27A3B24200C9BCBF /* ModalTheme.swift in Sources */,
5F1A7A782C06512800A52880 /* CheckoutV3Protocols.swift in Sources */,
45E66FD0288E0CC20020A41F /* Drawables.swift in Sources */,
661CFDB62570E7F000D8A1E8 /* PaymentButton.swift in Sources */,
662A3AED24A999A500EFD826 /* CheckoutResult.swift in Sources */,
551BEDF825F9B95C00FDF9EE /* WidgetView.swift in Sources */,
1522246025C925E5004B9CE5 /* Environment.swift in Sources */,
66996F672580A5BE0061C365 /* CheckoutV2Completion.swift in Sources */,
5F1A7A7C2C0651AF00A52880 /* AfterpayV3.swift in Sources */,
157C65AF25D23E8F00115149 /* Version.swift in Sources */,
1535ACB925DCBD0500727818 /* CheckoutV2.swift in Sources */,
66B54588256B3FD9002B3DD5 /* CheckoutV2ViewController.swift in Sources */,
667AD3542497121200BF94E5 /* CheckoutWebViewController.swift in Sources */,
15EC67D225E6217F007DFEA8 /* OSLog+Afterpay.swift in Sources */,
4288AB7827BCB578009C9B69 /* PaymentButtonUIView.swift in Sources */,
5F1A7A762C0650F900A52880 /* ConfirmationV3.swift in Sources */,
551BEDEB25F983E200FDF9EE /* Features.swift in Sources */,
66F9767C2499A11A001D38FA /* Afterpay.swift in Sources */,
151A4FEB258C1F8A0046CEEE /* StaticContent.swift in Sources */,
66EE378724D39FC50029BF42 /* BadgeView.swift in Sources */,
66D685B224BD3FB900C7287C /* SwiftUIWrapper.swift in Sources */,
666D334C24A48F5C00FCD464 /* ObjcWrapper.swift in Sources */,
5F1A7A842C07AF8100A52880 /* Consumer.swift in Sources */,
55432830263A61C4005512E4 /* CombineWrapper.swift in Sources */,
42DA4F9826E0740500204E75 /* IntroText.swift in Sources */,
5F1A7A802C0653E800A52880 /* OrderTotal.swift in Sources */,
4509D351293473F500952DAD /* CompactBadgeView.swift in Sources */,
45D406D127FE4B67009AA4EE /* LogoView.swift in Sources */,
157E88D125CBCA49007E54C4 /* Result+Fold.swift in Sources */,
Expand Down
Loading

0 comments on commit 44b6be8

Please sign in to comment.