File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
WooCommerce/Classes/ViewModels/Order Details/Receipts Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,6 @@ final class ReceiptEligibilityUseCase: ReceiptEligibilityUseCaseProtocol {
3434 }
3535 }
3636
37- /// Returns true if Point of Sale allows sending successful payment email receipts via the API.
38- /// WooCommerce 9.5 allows to attach a customer email after payment is made and send email receipt via the API.
39- ///
40- func isEligibleForPointOfSaleReceipts( onCompletion: @escaping ( Bool ) -> Void ) {
41- Task { @MainActor in
42- let isWooCommerceSupported = await isPluginSupported ( . wooCommerce,
43- minimumVersion: Constants . PointOfSaleReceipts. wcPluginMinimumVersion)
44- onCompletion ( isWooCommerceSupported)
45- }
46- }
47-
4837 /// Returns true if In Person Payments allows sending successful payment email receipts via the API.
4938 /// WooCommerce 9.5 allows to attach a customer email after payment is made and send email receipt via the API.
5039 ///
You can’t perform that action at this time.
0 commit comments