Remove PayPal order complete sheet.

main
Alex Hart 2022-12-12 16:05:54 -04:00
rodzic 599caee229
commit 303e5c7996
1 zmienionych plików z 2 dodań i 6 usunięć

Wyświetl plik

@ -112,15 +112,11 @@ class PayPalPaymentInProgressFragment : DialogFragment(R.layout.donation_in_prog
} }
private fun oneTimeConfirmationPipeline(createPaymentIntentResponse: PayPalCreatePaymentIntentResponse): Single<PayPalConfirmationResult> { private fun oneTimeConfirmationPipeline(createPaymentIntentResponse: PayPalCreatePaymentIntentResponse): Single<PayPalConfirmationResult> {
return routeToOneTimeConfirmation(createPaymentIntentResponse).flatMap { return routeToOneTimeConfirmation(createPaymentIntentResponse)
displayCompleteOrderSheet(it)
}
} }
private fun monthlyConfirmationPipeline(createPaymentIntentResponse: PayPalCreatePaymentMethodResponse): Single<PayPalPaymentMethodId> { private fun monthlyConfirmationPipeline(createPaymentIntentResponse: PayPalCreatePaymentMethodResponse): Single<PayPalPaymentMethodId> {
return routeToMonthlyConfirmation(createPaymentIntentResponse).flatMap { return routeToMonthlyConfirmation(createPaymentIntentResponse)
displayCompleteOrderSheet(it)
}
} }
private fun routeToOneTimeConfirmation(createPaymentIntentResponse: PayPalCreatePaymentIntentResponse): Single<PayPalConfirmationResult> { private fun routeToOneTimeConfirmation(createPaymentIntentResponse: PayPalCreatePaymentIntentResponse): Single<PayPalConfirmationResult> {