question

deven avatar image
deven asked deven commented

How to redirect from clover register app to my app after payment?

I am building app in clover and I want to create some functionality in my app, after payment from register app. so how to detect when payment made successfully then automatically open my app. so i want to generate QR code of that payment and also QR code will be print on receipt.

Please give helpful doc.

Print
10 |2000

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

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered deven commented

Please take a look at ACTION_PAYMENT_PROCESSED in the Clover Android SDK.

You should not start an activity at this point since the merchant will be printing receipts and looking at the post-payment screen. If you want to print something at this point, I think that'd be fine.

6 comments
10 |2000

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

deven avatar image deven commented ·

Hello jeff,

Thanks for your reply.

is there any way to add custom button in payment app? so merchant can select that option to print receipt with qr code. for example if i proceed to order checkout using "Register" app and it will redirect to "Payment" app after success payment. right? then i want to display one more extra button "Receipt with QR" . so it will print qr code at the bottom of receipt. can you please help me?

0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

No, you cannot add a custom button there. You could use an Android notification to give them that option in a way that doesn't interrupt their normal payment flow. Have you looked into Smart Receipts (https://docs.clover.com/build/smart-r... Have you looked into using the receipt registration mechanism (https://github.com/clover/clover-andr...

0 Likes 0 ·
deven avatar image deven commented ·

Ok, Thank you jeff.

0 Likes 0 ·
deven avatar image deven commented ·

can you please give demo, i can not get it how smart receipt works from android app?

0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

If you are having specific problems w/ smart receipts, please post a new question.

0 Likes 0 ·
Show more comments

Welcome to the
Clover Developer Community