question

Guille Bauza avatar image
Guille Bauza asked vsdsaaasd commented

Cannot use OrderConnector pay function

I got the following error: com.clover.sdk.v1.ForbiddenException: status code: 403 App doesn't have required permission

checked the app permision and has the enough to be able to do payments.


         paymentRequest = new PaymentRequest();
            paymentRequest.setTender(cash_tender);
            paymentRequest.setAmount(501L);
            paymentRequest.setTaxAmount(100L);
            paymentRequest.setTipAmount(200L);
            paymentRequest.setOrderId(order.getId());

           return orderConnector.pay(order.getId(), paymentRequest, false, "Some note for payment request...");


Regards.

OrdersClover Android SDKClover Flex
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.

vsdsaaasd avatar image vsdsaaasd commented ·

Yes, there are many online casinos that offer instant deposit methods, such as e-wallets, cryptocurrencies, and fast bank transfers. https://ex.casino/ features casinos with quick deposit options, making it easy for players to fund their accounts and start playing immediately. They also evaluate casinos based on how efficiently they process payments, ensuring you can get started without unnecessary delays.

0 Likes 0 ·

1 Answer

David Marginian avatar image
David Marginian Deactivated answered Guille Bauza commented

The pay method is not available to non Clover apps and is stated as such in our docs:

https://clover.github.io/clover-android-sdk/com/clover/sdk/v3/order/OrderV31Connector.html

"Not available to non-Clover apps."


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.

Guille Bauza avatar image Guille Bauza commented ·

oh, missed that, thank you.

0 Likes 0 ·

Welcome to the
Clover Developer Community