OneEntry Platform 2.0.1 Help

Payment for orders

Working with payments and transactions is an important part of any E-commerce project. In the "Payments" section, you can work with the list of payments, configure payment accounts, statuses, etc. All tools will be discussed in this block of articles in more detail.

Kotlin Multiplatform

val order: Order = //... PaymentsService.purchase( orderId = order.id, type = SessionType.INTENT, automaticTaxEnabled = true )

Swift

let order: Order = //... try await PaymentsService.shared.purchase( orderId: order.id, type: .intent, automaticTaxEnabled: true )
Last modified: 18 February 2025