question

vidivici avatar image
vidivici asked chanel Deactivated answered

Is there anyway to obtain an orderId if you only know paymentID - android?

Is there anyway to obtain an orderId if you only know paymentId using the android sdk?
Orders
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

chanel avatar image
chanel Deactivated answered
Indeed there is! You can call `getOrder()` on the payment object. You can find more information on the Payment object within our SDK here: https://clover.github.io/clover-android-sdk/com/clover/sdk/v3/payments/Payment.html
10 |2000

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