question

brajesh avatar image
brajesh asked brajesh commented

Getting issue "Cannot return this amount to card." while refunding amount.

We are using clover go credit card reader device for card swipe functionality and we are getting "Cannot return this amount to card." while refunding amount.

we are using clover go credit card reader device and we are using following sdk

pod 'Starscream', :git => 'https://github.com/daltoniam/Starscream.git', :tag => '3.0.5'

pod 'GoConnector', '3.3.11'

we are using following devices to run the application.

Device name – Lenovo TB-X304F,

iPad Air( 4th generation).

Clover Go
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

Difficult to help, without more details. Is this a sandbox payment? What type of card (debit, credit)?

4 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.

brajesh avatar image brajesh commented ·

Hi David,

it is sandbox payment and we are using discover card (credit). Please let us know if you need any other detail.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ brajesh commented ·
What is the payment id and are you running the card as Debit or Credit?
0 Likes 0 ·
brajesh avatar image brajesh David Marginian ♦♦ commented ·

Hi David,


We are getting refund error for every sandbox payment that we made. here are some payment id for which we are getting error

H5TQY5R3TH2ZJ

QQP8ZBVY2CMJJ

TVRZD854K4NJ8


we are running credit card type.

0 Likes 0 ·
Show more comments
brajesh avatar image
brajesh answered

Hi David,

We are facing below mentioned issue while we creating .ipa file. Your help would be appreciated.

Issue -

Could not find module 'clovergoclient' for target 'armv7-apple-ios'; found: x86_64-apple-ios-simulator, arm64, x86_64, arm64-apple-ios


Thanks

10 |2000

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

brajesh avatar image
brajesh answered brajesh commented

Hi David,

Can you plz help me out that how to connect clover device with app using below mentioned sdk

pod 'Starscream', :git => 'https://github.com/clover/Starscream.git', :branch => 'queuePriority-3.0.0'


pod 'CloverConnector', :git => 'https://github.com/clover/remote-pay-ios.git', :tag => '4.0.0'

In updated sdk , we are unable to find below mentioned method to connect with device.


CloverGoDeviceConfiguration.Builder

2 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.

brajesh avatar image brajesh David Marginian ♦♦ commented ·
Hi David,

thanks for your reply but we need higher version sdk mentioned above that support Xcode 12.

0 Likes 0 ·
brajesh avatar image
brajesh answered

Can you please provide the updated clover sdk link that is compatible to Xcode 12.2 or 12.5

10 |2000

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

brajesh avatar image
brajesh answered brajesh commented

hi

I am not able to refund full amount through clover go device.

Payment ID : 5B3Y4PRXPNNJ6

Order ID:DNJQ7R82EZBK6

your help would be appreciated.


2 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.

David Marginian avatar image David Marginian ♦♦ commented ·

From our logs, it appears you are trying to return 0 dollars to the card, that doesn't make sense.

0 Likes 0 ·
brajesh avatar image brajesh David Marginian ♦♦ commented ·
for full payment we have to send only orderId and paymentId and fullRefund value to true in clover sdk api.


0 Likes 0 ·

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