Discussions

Ask a Question

Webhook sudden changes status

I have different webhook sometimes it automatocally disabled/enabled. Right now i just look at it and all of my webhooks are enabled without me changing it
ANSWERED

the checkout api url doesn't seem to work in test mode?

"checkout_url": "<https://checkout.paymongo.com/cs_FGdZ6kF5hGsFZtvoDUkA2uDh_client_EFi4oC4VGcHKLhLrvVkKkAEC#cGtfdGVzdF9FVVNGUjYyR1JVbWRKVXdvWXBDeEJVR2o=">, the generated checkout_url doesn't seems to work unless i changed the client_key
ANSWERED

Checkout URL without Billing Details

Hi All, I am trying to use Check Session API in my application. But for Card Payment, I dont want to get the Billing Details from the customer as the customer would have already populated in my application itself. Is there any configuration that can set for this?
ANSWERED

Secret Key not working in POSTMAN

Hello. My account right now isn't activated so I can only use test API Keys. What I have tried so far is this API <https://developers.paymongo.com/reference/retrieve-list-of-possible-merchant-payment-methods>. I used my Test API Keys and it is not working. Can someone help me? I'm a beginner in paymongo. Thanks ![](https://files.readme.io/ecf6d91-image.png)

Custom Parameters

Hi, We are using paymongo in our project. Just wondering if it is possible to pass a custom parameter and will be sent also as a metadata or anything related to it in the body of webhook being set.

URLs for Webhooks

Which URLs are considered to be publicly accessible?

Webhook Events: Reference number to update my database record

Hi! I am using the Checkout API and able to receive the json payload in my webhook (`checkout_session.payment.paid`, `payment.paid`, `payment.failed`). Now that I have to update the status in my database, I checked the json payload and there is no reference number I can use to update the record in my database even though initially in creating a checkout session I clearly put one. Is it safe to use the `payment_intent_id` as a reference number? Because I think this is the only unique id I can store when I create a checkout session and also use it later when receiving a json payload in my webhook. Thank you in advance!

Archive a Link (PHP) is not working

Example Reference Number = FFFFFF Example Auth = Basic 555555676664564543Fer453345' Code: <?php require_once('vendor/autoload.php'); $client = new \\GuzzleHttp\\Client(); $response = $client->request('POST', '<https://api.paymongo.com/v1/links/FFFFFF/archive'>, \[ 'headers' => [ 'accept' => 'application/json', 'authorization' => 'Basic 555555676664564543Fer453345', ], ]); echo $response->getBody(); Result: { "errors": [ { "code": "resource_not_found", "detail": "No such transaction with id FFFFFF." } ] }
ANSWERED

Lessen Customers hassle by supporting query parameter string in Paymongo Link

We have an ecommerce that integrates paymongo Link. Most of our customer are frustrated that they have to input their info again in paymongo link. Is there a way we could just pass a data on URL. Like sample below <https://pm.link/PCWorth/NoXxXhL?first_name=john&last_name=doe>

CRITICAL Uncaught Error: Call to undefined method GuzzleHttp\\Utils::chooseHandler() the path is does not exist

CRITICAL Uncaught Error: Call to undefined method GuzzleHttp\\Utils::chooseHandler() in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wc-paymongo-payment-gateway/vendor/guzzlehttp/guzzle/src/functions.php:61