Developer Discussions
Encountered the Kotlin Serialization crash while using the v2.0.1 in Android DSL
```
// Kotlin Base Setup Project
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1")
```
While using the kotlin serialization version 1.8.10, I have to exclude the Kotlin serialization from maya SDK provded on github due the conflict of duplicacy.
```
//Pay Maya
implementation ("com.github.paymaya:paymaya-android-sdk-v2:v2.1.0"){
exclude(group = "org.jetbrains.kotlinx", module = "kotlinx-serialization-runtime")
}
```
When I excluded the serialization the error occurs while intstantiating the sdk .
```
java.lang.InstantiationError: kotlinx.serialization.json.Json
at com.paymaya.sdk.android.common.internal.di.CommonModule.getJson
```
I would also recommend maya to create a stable git repo for compose platform, since Compose is now a part of Default android configurations. Passing the activity as context and using the startCheckoutActivityForResult is not a optimum feasible solution.
Posted by Vansh 4 months ago
Maya deposit
I cant access or view my maya deposit, why? I need to access it because I need to transfer money to my other bank account
Posted by Cerina Tampus 4 months ago
We encountered a crash while using Maya V2.1.0 Android SDK.
Maya SDK uses an outdated Kotlin API, which conflicts with other SDK versions in our project (such as Google Map, Firebase, and the Kotlin API version used).
The SDK link we retrieved: com. github. paymaya: paymaya android sdk v2:2.1.0(GitHub - PayMaya/PayMaya-Android-SDK-v2)
Crash code
val checkoutClient = PayMayaCheckout.newBuilder()
.clientPublicKey("pk-NCLk7JeDbX1m22ZRMDYO9bEPowNWT5J4aNIKIbcTy2a")
.environment(PayMayaEnvironment.SANDBOX)
.logLevel(LogLevel.WARN)
.build()
Posted by lucky 4 months ago
Invalid Request
Hi, Im currently developing a payment paymaya integration via PHP cURL in WordPress, Im able to see the POST Request on the dev tools however when I try to open the '<https://payments-web-sandbox.paymaya.com/v2/checkout'>
_note that Im able to open the payamaya checkout URL in less than 30secs._
I always encounter 'Invalid Request' 'The link you're trying to access is invalid or has already expired.' on Maya Dashboard.
here is the response I got
string(162) "{"checkoutId":"37840256-52b9-4bfe-98f4-cb26e9f6fda9","redirectUrl":"<https://payments-web-sandbox.paymaya.com/v2/checkout?id=37840256-52b9-4bfe-98f4-cb26e9f6fda9"}">
string(0) ""
<https://payments-web-sandbox.paymaya.com/v2/checkout?id=37840256-52b9-4bfe-98f4-cb26e9f6fda90>
Posted by Genesis 4 months ago
Past transactions
How to reprint merchant copy of transactions last month
Posted by Camille Gabriel 5 months ago
Keep Getting 'Invalid Endpoint' while retriving the webhook from localhost
I am using laravel application for integration. For calling api i am using the Http client laravel.
While try to fetch all webhooks it keep saying invalid endpoint, But when i try to use curl command it's working.
Also I tried to use curl function in laravel, this time also it's not working. Is any issue while calling the api from localhost.
Check and let me know the issue.
Posted by Bright 5 months ago
Inquiry to Maya Checkout
Hi,
I just want to ask something about Maya Checkout. Lets the say the payment is successful but during the redirect the RedirectURL is unavailable. Will maya Checkout try to reattempt to access the redirect URL? is there an API to check last payments?
Thank you.
Anthony
Posted by Anthony 5 months ago
Does P3 support e-wallets?
I'm currently doing a payment integration and have checked out the Maya Checkout API and Vault API, and confirmed that there's no Refund API for Checkout API, still awaiting response if Vault API refunds only is only available via the Maya Manager Dashboard.
Posted by Jim 5 months ago
Refunding Online Payment - Checkout / Card Payments
I only see the P3 Refund API, is it the same API for Checkout / Card Payments?
And if its the same, what property from the Checkout / Card Payments do we use as Payment TRN?
Posted by jim 5 months ago
Disbursement API Rate Limits and Webhooks/Callbacks
I read that Maya enforces rate limiting on its endpoints, but I don't see the exact # for how many request the Disbursement API can handle.
Does Maya have Webhooks for the Disbursement API?
Posted by Jim 5 months ago