Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# PayPal iOS SDK Release Notes

## unreleased
* Breaking Changes
* PayPalNativePayments
* Remove entire PayPalNativePayments module
* PayPalWebPayments
* Deprecate `PayPalVaultRequest(url:setupTokenID:)`
* Add `PayPalVaultRequest(setupTokenID:)`
Expand Down
51 changes: 0 additions & 51 deletions Demo/Demo.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

99 changes: 0 additions & 99 deletions Demo/Demo/Helpers/OrderRequestHelpers.swift

This file was deleted.

6 changes: 0 additions & 6 deletions Demo/Demo/Models/ProcessOrderParams.swift

This file was deleted.

7 changes: 0 additions & 7 deletions Demo/Demo/Models/ShippingPreference.swift

This file was deleted.

68 changes: 0 additions & 68 deletions Demo/Demo/Models/UpdateOrderParams.swift

This file was deleted.

12 changes: 0 additions & 12 deletions Demo/Demo/Networking/DemoMerchantAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,6 @@ final class DemoMerchantAPI {
return try parse(from: data)
}

/// This function replicates a way a merchant may go about patching an order on their server and is not part of the SDK flow.
/// - Parameters:
/// - updateOrderParams: the parameters to update the order with
/// - Throws: an error explaining why patching the order failed
func updateOrder(_ updateOrderParams: UpdateOrderParams, selectedMerchantIntegration: MerchantIntegration) async throws {
guard let url = buildBaseURL(with: "/orders/" + updateOrderParams.orderID) else {
throw URLResponseError.invalidURL
}
let urlRequest = buildURLRequest(method: "PATCH", url: url, body: updateOrderParams.updateOperations)
_ = try await data(for: urlRequest)
}

/// This function fetches a clientID to initialize any module of the SDK
/// - Parameters:
/// - environment: the current environment
Expand Down
5 changes: 0 additions & 5 deletions Demo/Demo/SwiftUIComponents/FeatureSelectionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ struct FeatureSelectionView: View {
} label: {
Text("PayPal Vaulting")
}
NavigationLink {
SwiftUINativeCheckoutDemo()
} label: {
Text("Native Checkout")
}
NavigationLink {
SwiftUIPaymentButtonDemo()
} label: {
Expand Down
113 changes: 0 additions & 113 deletions Demo/Demo/SwiftUIComponents/SwiftUINativeCheckoutDemo.swift

This file was deleted.

Loading
Loading