Discussions
Wait for the Expected Processing Time
best time to check the status of payment programmatically after no response?
Posted by Random 8 months ago
Webhook Instance for Created Checkout Session
Just want to ask if there's a webhook event for a created checkout session?
Posted by Aldren 8 months ago
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
Posted by Leo Angelo 9 months ago
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
Posted by null 10 months ago
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?
Posted by Alagaraja 10 months ago
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)
Posted by Rommel 11 months ago
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.
Posted by King Lawrence Caubalejo 11 months ago
URLs for Webhooks
Which URLs are considered to be publicly accessible?
Posted by . 11 months ago
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!
Posted by Benz Web Dev 11 months ago
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."
}
]
}
Posted by KARL GLENN DEL ROSARIO 11 months ago