Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo committed Dec 5, 2024
1 parent 8bbc130 commit 82eafd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ import com.getcapacitor.community.stripe.paymentflow.PaymentFlowExecutor
import com.getcapacitor.community.stripe.paymentsheet.PaymentSheetExecutor
import com.stripe.android.PaymentConfiguration
import com.stripe.android.Stripe
import com.stripe.android.core.AppInfo;
import com.stripe.android.core.AppInfo
import com.stripe.android.googlepaylauncher.GooglePayLauncher
import com.stripe.android.paymentsheet.PaymentOptionCallback
import com.stripe.android.paymentsheet.PaymentSheet
import com.stripe.android.paymentsheet.PaymentSheetResult
import com.stripe.android.paymentsheet.PaymentSheetResultCallback
import com.stripe.android.paymentsheet.model.PaymentOption

@NativePlugin(name = "Stripe", requestCodes = [9972, 50000, 50001, 6000])
Expand Down Expand Up @@ -100,10 +98,10 @@ class StripePlugin : Plugin() {

paymentFlowExecutor.flowController = PaymentSheet.FlowController.create(
activity,
PaymentOptionCallback { paymentOption: PaymentOption? ->
{ paymentOption: PaymentOption? ->
paymentFlowExecutor.onPaymentOption(bridge, paymentFlowCallbackId, paymentOption)
},
PaymentSheetResultCallback { result: PaymentSheetResult ->
{ result: PaymentSheetResult ->
paymentFlowExecutor.onPaymentFlowResult(bridge, paymentFlowCallbackId, result)
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import com.getcapacitor.JSObject
import com.stripe.stripeterminal.external.models.DeviceType
import com.stripe.stripeterminal.external.models.Location
import com.stripe.stripeterminal.external.models.LocationStatus
import com.stripe.stripeterminal.external.models.NetworkStatus
import com.stripe.stripeterminal.external.models.Reader
import com.stripe.stripeterminal.external.models.ReaderSoftwareUpdate

Expand Down

0 comments on commit 82eafd3

Please sign in to comment.