Discussions
Hello, Minimum purchase.
Can I adjust to minimum purchase in Gcasg/Ewallet? Iwant to make it 20 Pesos.
Posted by Eric Aldreen 3 months ago
Wait for the Expected Processing Time
best time to check the status of payment programmatically after no response?
Posted by Random 4 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 4 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 4 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 6 months ago
URLs for Webhooks
Which URLs are considered to be publicly accessible?
Posted by . 6 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 7 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 7 months ago
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
Posted by errol tudio 7 months ago
Error: Do not use the secret key in the browser
I am trying to apply paymongo api on my ionic application.
I am using plugin of <https://paymongo.paolotiu.com/>.
Create Payment Method and Retrieve Payment Method was successful and running
Create Payment Intent was successful but retrieving always got an error.
Error using public key - Error: Request failed with status code 404
Error if I user secret key - Error: Do not use the secret key in the browser
I always got this error when I use secret key
Posted by JJ Alcuran 8 months ago