question

isoaccess avatar image
isoaccess asked ·

i want to add surcharge for each and every transcation? how do i add?

i want to add surcharge for all transcation without user interaction. how do i add this?
Sale
4 comments
10 |2000 characters needed characters left characters exceeded

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

Hi @isoaccess,

Which SDK are you using?

0 Likes 0 · ·
hi @keithryanwong , i yet to start. i want to change following application.
com.clover.terminal.sale-139.apk
com.clover.register-1397.apk

can you please help on this? kindly share the sdk link also.

0 Likes 0 · ·

Hi @isoaccess,

You are not able to change the code of those applications. Also, what tech stack are you planning on developing your application with? I moved your question to the App Market Developer Platform because it seems like you are developing a standard application for the Clover device, and not semi-integrating an external PoS.

0 Likes 0 · ·

Hi thanks for your reply,

Can we create independent application with swiper access? i mean i want to process the credit card transcation?

0 Likes 0 · ·

1 Answer

keithryanwong avatar image
keithryanwong answered ·
No, you are not able to process the credit card transaction in your application. All card processing is carried out through the Clover applications.

I assume that you are making an application for the Clover Devices. The SDK you will be using is the Clover Android SDK, linked further below. Additionally, here is some documentation for getting started with building applications for the Clover ecosystem: https://docs.clover.com/build/android-apps/

You can add a surcharge to every order programmatically by utilizing the Clover-Android-SDK and the Web APIs:
1. SDK that will give you access to the CloverAuth (needed to fetch a token for API calls). https://github.com/clover/clover-android-sdk
2. Web API: https://www.clover.com/api_docs/

You will need to :
1. Use the Clover-Android-SDK to get an authToken
a. Example code: https://community.clover.com/questions/10801/prin...
2. Utilize the Web API to retrieve the Service Charge ID for a particular merchant.
a. https://www.clover.com/api_docs/#merchants_Defaul...
3. Use the Web API to add a new service charge to an existing order
a. https://www.clover.com/api_docs/#orders_ServiceCh...

Best,
Keith
Share
10 |2000 characters needed characters left characters exceeded

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