Skip to content
New issue

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

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

Already on GitHub? # to your account

[MMSDK-245][AutoPrint]: Add auto print preference #30

Merged
merged 7 commits into from
Aug 14, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import kotlinx.parcelize.Parcelize
data class PaymentPreferences(
val isMSIEnabled: Boolean = true,
val isMCIEnabled: Boolean = true,
val isDCCEnabled: Boolean = false,
val isTipEnabled: Boolean = false
val isDCCEnabled: Boolean = true,
val isTipEnabled: Boolean = false,
/**
* When transaction is successful you can enable the auto print of your receipt in POS
*/
val isAutoPrintReceiptEnabled: Boolean = false
) : Parcelable
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ internal class SystemClipIntentProvider : ClipIntentProvider {

companion object {
private const val PINPAD_PACKAGE = "com.payclip.blaze.pinpad"
private const val PINPAD_ENTRY_ACTIVITY = "$PINPAD_PACKAGE.views.MainActivity"
private const val PINPAD_ENTRY_ACTIVITY = "$PINPAD_PACKAGE.shared.ui.MainActivity"

private const val PAYMENT_REFERENCE_EXTRA = "PAYMENT_REFERENCE"
private const val PAYMENT_AMOUNT_EXTRA = "PAYMENT_AMOUNT"
Expand Down
Loading