Discussions

Ask a Question

Test Account, Can't passed events to webhooks URL

When the status will be chargeable, the event didn't passed to my hooks URL, Is there any idea out there on how to configure it?

how to know what error code to credit card after jumping to test.sources using php

hi paymongo team, i am using php and have implemented the webhook and credit card payment. i am ok with the successful transactions but was wondering how to know what error code was caused for declined cards from the back-end? i can read json replies but not sure how to proceed once they jump to test.sources page. the next page it comes out is the notify page after jumping back.

400 Bad Request api (`POST https://api.paymongo.com/v1/sources` resulted in a `400 Bad Request`),({"errors":[{"code":"invalid_payload_format","detail":"attributes cannot be blank."}]})

on PHP `POST https://api.paymongo.com/v1/sources` resulted in a `400 Bad Request` on TypeScript of Javascript {"errors":[{"code":"invalid_payload_format","detail":"attributes cannot be blank."}]} why im getting this kind of error? i'm using the test key by the way because i still haven't activate my account yet can someone help me or tell me how to overcome or fix this error😭 im using xammp,postman,thunderclient for php im using angular v-10
ANSWERED

Is there a way to pass a redirect url for the payment links api ?

Like common payment platform is there a way to pass a redirect url when creating a paymongo link with "LINKS API". If not it will be a useful feature to explore

Do you have plugin for wix?

Do you have plugin for wix? if none, how can i integrate payment in my wix website?

How to Fetch Payment ID in G-cash payment API

Hello I'm trying to create a g-cash payment method in my website, I want to fetch the payment id in my data based.

Paymongo on Wix

Will Paymongo work on Wix?
ANSWERED

I am trying to create a source in my website but it always says that Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://api.paymongo.com/v1/sources` resulted in a `429 Too Many Requests` response:

Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://api.paymongo.com/v1/sources` resulted in a `429 Too Many Requests` response: {"errors":[{"code":"too_many_requests","detail":"Too many requests have been sent within a time period. Please try again (truncated...) in /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/guzzle/src/Middleware.php(69): GuzzleHttp\Exception\RequestException::create() #1 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}() #2 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler() #3 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run() #5 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn() #6 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending() #7 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList() #8 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #9 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/guzzle/src/Client.php(187): GuzzleHttp\Promise\Promise->wait() #10 /home/u327432321/domains/mrcresort.com/public_html/try.php(8): GuzzleHttp\Client->request() #11 {main} thrown in /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113
ANSWERED

GuzzleHttp\Exception\ClientException - Response 429

Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST https://api.paymongo.com/v1/sources resulted in a 429 Too Many Requests response: {"errors":[{"code":"too_many_requests","detail":"Too many requests have been sent within a time period. Please try again (truncated...) in /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/guzzle/src/Middleware.php(69): GuzzleHttp\Exception\RequestException::create() #1 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp{closure}() #2 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler() #3 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}() #4 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run() #5 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn() #6 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending() #7 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList() #8 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #9 /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/guzzle/src/Client.php(187): GuzzleHttp\Promise\Promise->wait() #10 /home/u327432321/domains/mrcresort.com/public_html/try.php(8): GuzzleHttp\Client->request() #11 {main} thrown in /home/u327432321/domains/mrcresort.com/public_html/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113
ANSWERED

how can I accept g cash payments?

I created a source for gcash auth, then use the id from there to create payments, but how can I received those payments?, e.g (customer -> order -> checkout -> gcash auth -> create payment -> vendor received payment)