Developer Discussions

Ask a Question
ANSWERED

aquirer decline due to high rish

im did cash in using my creditcard per your agent error is decline due to high risk pls resolve

Transfer and Accepting Funds

Hi, Do I need a maya wallet if I need to do a transfer ? Then If I need to accept a payment where the funds will go ? is it in the maya wallet ?
ANSWERED

Generated API keys not working

as the title says it's not working when creating a checkout link but sandbox api keys is working, why is that? { "error": "Invalid authentication credentials. Kindly verify if the key you are using is correct.", "code": "K003", "reference": "40082bce-d257-4ac5-9cd8-161795f915d3" }
ANSWERED

How to retrieve the "state" of a Payment Token

After creating a Payment Token using [Create Payment Token API](https://developers.maya.ph/reference/createv1paymenttoken), are there any other APIs that can be used to retrieve the latest `state` of the Payment Token?
ANSWERED

What's the Expiration Time of a Payment Token

The API used is [Create Payment Token API](https://developers.maya.ph/reference/createv1paymenttoken) In the response body, it has a `state` property. One of its possible values is `EXPIRED`. How long after Payment Token creation does it expire? I've also checked this [API documentation](https://s3-us-west-2.amazonaws.com/developers.paymaya.com.pg/payment-vault/paymentvault.html#tokenized-payments-payments-post) to check if the expiration time is indicated, but it only states that *"The payment token is valid for a specific amount of time. Before it expires, it is valid for single use only in payment transactions."* To test the expiration, I've tried linking an old Payment Token using [Create Customer Card API](https://developers.maya.ph/reference/createv1customercard) and received a response of: ```json { "code": "PY0007", "message": "Invalid token status.", "parameters": [ { "field": "paymentTokenId", "description": "Token is already expired." } ] } ```
ANSWERED

Why is "Vault a Card" API's verificationUrl resulting to a transaction?

I am implementing Tokenization in the Sandbox Environment. I'm using the following APIs in order: 1. ["Create Customer"](https://developers.maya.ph/reference/createv1customer) API 2. ["Create Payment Token"](https://developers.maya.ph/reference/createv1paymenttoken) API 3. ["Create Card of Customer"](https://developers.maya.ph/reference/createv1customercard) API 4. ["Create Customer Payment"](https://developers.maya.ph/reference/createv1customerpayments) API The `verificationUrl` received from the ["Create Card of Customer"](https://developers.maya.ph/reference/createv1customercard) API looks like this: https://payments-web-sandbox.paymaya.com/authenticate?id=0a4230bc-7080-42e7-be4a-e4cd6fdff332 When I access this `verificationUrl` in the browser, it redirects me to a URL that looks like this: https://payments-web-sandbox.paymaya.com/v2/checkout/result?id=a5028a25-d047-4969-bb44-5ee7406eba9a, where it always creates a a PHP 10.00 transaction. Why is it that the ["Create Card of Customer"](https://developers.maya.ph/reference/createv1customercard) API's `verificationUrl` resulting to a transaction? Thanks

Error processing checkout. Please try again.

how to resolve this issue? I tried to enable and disable the maya. But still nothing happens

Payment Failed

Payment Failed, Using Sandbox API keys and Cards

403 Forbidden

I'm using magento 2.4 then I got this error: {"0":"Client error: `POST https:\/\/pg-sandbox.paymaya.com\/checkout\/v1\/checkouts` resulted in a `403 Forbidden` response: \n<html>\r\n<head><title>403 Forbidden<\/title><\/head>\r\n<body>\r\n<center><h1>403 Forbidden<\/h1><\/center>\r\n<\/body>\r\n<\/html>\r\n\n","1":"#1 GuzzleHttp\\Middleware::GuzzleHttp\\{closure}() called at [vendor\/guzzlehttp\/promises\/src\/Promise.php:204] \n#2 GuzzleHttp\\Promise\\Promise::callHandler() called at [vendor\/guzzlehttp\/promises\/src\/Promise.php:153]\n#3 GuzzleHttp\\Promise\\Promise::GuzzleHttp\\Promise\\{closure}() called at [vendor\/guzzlehttp\/promises\/src\/TaskQueue.php:48] \n#4 GuzzleHttp\\Promise\\TaskQueue->run() called at [vendor\/guzzlehttp\/promises\/src\/Promise.php:248] \n#5 GuzzleHttp\\Promise\\Promise->invokeWaitFn() called at [vendor\/guzzlehttp\/promises\/src\/Promise.php:224] \n#6 GuzzleHttp\\Promise\\Promise->waitIfPending() called at [vendor\/guzzlehttp\/promises\/src\/Promise.php:269] \n#7 GuzzleHttp\\Promise\\Promise->invokeWaitList() called at [vendor\/guzzlehttp\/promises\/src\/Promise.php:226] \n#8 GuzzleHttp\\Promise\\Promise->waitIfPending() called at [vendor\/guzzlehttp\/promises\/src\/Promise.php:62] \n#9 GuzzleHttp\\Promise\\Promise->wait() called at [vendor\/guzzlehttp\/guzzle\/src\/Client.php:182] \n#10 GuzzleHttp\\Client->request() called at [vendor\/guzzlehttp\/guzzle\/src\/Client.php:95] \n#11 GuzzleHttp\\Client->__call() called at [vendor\/paymaya_philippines\/paymaya-payment\/Api\/PayMayaClient.php:82] \n#12 PayMaya\\Payment\\Api\\PayMayaClient->createCheckout() called at [vendor\/paymaya_philippines\/paymaya-payment\/Controller\/Checkout\/Index.php:27] \n#13 PayMaya\\Payment\\Controller\\Checkout\\Index->execute() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58] \n#14 PayMaya\\Payment\\Controller\\Checkout\\Index\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138] \n#15 PayMaya\\Payment\\Controller\\Checkout\\Index\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153] \n#16 PayMaya\\Payment\\Controller\\Checkout\\Index\\Interceptor->___callPlugins() called at [generated\/code\/PayMaya\/Payment\/Controller\/Checkout\/Index\/Interceptor.php:23] \n#17 PayMaya\\Payment\\Controller\\Checkout\\Index\\Interceptor->execute() called at [vendor\/magento\/framework\/App\/Action\/Action.php:111] \n#18 Magento\\Framework\\App\\Action\\Action->dispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58] \n#19 PayMaya\\Payment\\Controller\\Checkout\\Index\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138] \n#20 PayMaya\\Payment\\Controller\\Checkout\\Index\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153] \n#21 PayMaya\\Payment\\Controller\\Checkout\\Index\\Interceptor->___callPlugins() called at [generated\/code\/PayMaya\/Payment\/Controller\/Checkout\/Index\/Interceptor.php:32] \n#22 PayMaya\\Payment\\Controller\\Checkout\\Index\\Interceptor->dispatch() called at [vendor\/magento\/framework\/App\/FrontController.php:245] \n#23 Magento\\Framework\\App\\FrontController->getActionResponse() called at [vendor\/magento\/framework\/App\/FrontController.php:212] \n#24 Magento\\Framework\\App\\FrontController->processRequest() called at [vendor\/magento\/framework\/App\/FrontController.php:147] \n#25 Magento\\Framework\\App\\FrontController->dispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58] \n#26 Magento\\Framework\\App\\FrontController\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138] \n#27 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/module-store\/App\/FrontController\/Plugin\/RequestPreprocessor.php:99] \n#28 Magento\\Store\\App\\FrontController\\Plugin\\RequestPreprocessor->aroundDispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135] \n#29 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/module-page-cache\/Model\/App\/FrontController\/BuiltinPlugin.php:71] \n#30 Magento\\PageCache\\Model\\App\\FrontController\\BuiltinPlugin->aroundDispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135] \n#31 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153] \n#32 Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php:23] \n#33 Magento\\Framework\\App\\FrontController\\Interceptor->dispatch() called at [vendor\/magento\/framework\/App\/Http.php:116] \n#34 Magento\\Framework\\App\\Http->launch() called at [generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php:23] \n#35 Magento\\Framework\\App\\Http\\Interceptor->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:264] \n#36 Magento\\Framework\\App\\Bootstrap->run() called at [pub\/index.php:29]\n","url":"\/paymaya\/checkout\/index","script_name":"\/pub\/index.php","report_id":"fe0874e871584c49867ee79aa4faffe4dc92b1a72e6178c869a037c4b937d4ab"}

[PY0101] Acquirer decline due to high risk.

Hi, I would like to know the details for this status to be resolved. Thanks