Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Authorize/Capture for PayPalWebPayments in Demo App #216

Merged
merged 8 commits into from
Nov 16, 2023
1 change: 0 additions & 1 deletion Demo/Demo/ViewModels/PayPalWebViewModel.swift
Copy link
Collaborator Author

@KunJeongPark KunJeongPark Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ class PayPalWebViewModel: ObservableObject, PayPalWebCheckoutDelegate {
}

func completeOrder(with intent: Intent, orderID: String, selectedMerchantIntegration: MerchantIntegration) async throws {

switch intent {
case .capture:
try await captureOrder(orderID: orderID, selectedMerchantIntegration: selectedMerchantIntegration)
Expand Down
Loading