question

bldtex avatar image
bldtex asked bldtex commented

com.clover.intent.action.PAYMENT_PROCESSED issue with activating activity.

I'm working on a loyalty code system to run through the Clover Register.


However I'm having trouble with the com.clover.intent.action.PAYMENT_PROCESSED trigger opening my application to enter a code to associate with the order. This is an issue on the newest devices, ones using Android 10.


Currently have it setup with a broadcast receiver to trigger on the intent, which opens a form to enter the loyalty code. This however does not work with changes done with Android 10, and so testing on the Flex 2 & 3, Mini 2 & 3, and Station solo emulators will not open the application to the forefront.


On the other hand, having clover.intent.action.MERCHANT_TENDER open a similar screen to redeem from a loyalty code works just fine.


The issue is Android 10 not allowing background application to focus on use with a reciever. Is there another way to trigger off of the com.clover.intent.action.PAYMENT_PROCESSED intent other than a broadcast receiver?

Clover Android SDK
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bldtex avatar image bldtex commented ·

To add to the details, if for some reason the clover.intent.action.MERCHANT_TENDER opens an app activity, then the com.clover.intent.action.PAYMENT_PROCESSED listener is then able to also open a new activity just fine.

Guessing this has to do with how Android 10 handles activities with regards to listeners waiting on the background. Surely there has to be a way to properly get user input after a successful transaction.

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community