Ask a Question

Payment Method Restricted

Upon creating a test PaymentIntent using "card" as the payment_method_allowed, the endpoint returned a "payment_method_restricted" code with the message "Payment method card is restricted for this organization." What is the problem and what should I do?

How to set amount lower than 100?

Can the webhook's URL be a local endpoint?

Can I use my local endpoint when registering a webhook? like can I use https://localhost:8000?

No such source with id

What should I put on the source id?

Webhooks in gcash

Hi, I created a webhook in the url. Can you give an example node code so I can know if the client paid? I'm new the webhooks btw.

Paymongo marketplace

Hi, just wanna ask if paymongo has a marketplace feature, where I can accept and facilitate all payment on my user's behalf, and allowed them to pay out their earnings as they requested it? I already read the documentation but I didn't seem to notice that particular feature or perhaps I simply overlooked it.

Paymongo Error on woocommerce

I'm getting an error on checkout, Organization with id org_ozGYREwE3q6QzdQUWPAxdLvZ is not allowed to process gcash payments.

Needs confirmation of Seller prior to payment by client

Hi. Our transaction flow requires that we confirm the final amount of the order (may even take 2 days) prior to charging the client/payment. How do we go about it here? Help please!

payment_method_not_configured on live SK?

any idea how to fix these? cant find in any documents

Webhook URL Not Working

Here is my code Tested it with postman and it works. ```php <?php header('HTTP/1.1 200 OK'); header('Content-Type: application/json'); $request = file_get_contents('php://input'); $header = $_SERVER['HTTP_PAYMONGO_SIGNATURE']; $payload = json_decode($request, true); $type = $payload['data']['attributes']['type']; $path = "../../"; require($path . 'vendor/autoload.php'); $dotenv = Dotenv\Dotenv::createImmutable($path); $dotenv->safeLoad(); $sql = "INSERT INTO `log`(`data`) VALUES ('" . $request . "')"; try { $conn = new PDO("mysql:host=" . $_ENV["DB_SERVER"] . ";dbname=" . $_ENV["DB_NAME"], $_ENV["DB_USERNAME"], $_ENV["DB_PASSWORD"]); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $stmt = $conn->prepare($sql); $stmt->execute(); } catch (PDOException $e) { echo "Connection failed: " . $e->getMessage(); } ?> ```

Payment/transaction fee

Hi, is the the payment/transaction fee still not available (saw someone ask this before here) in the API? We are availing the promo which will waive 2 months of transaction fee. Is there a way that we can automate the changing of fee when the promo expires or when the rate is changed?

I am having problems with the return url after 3DS, it is encoding the URL parameters

For example when I try to put this to the return URL after 3ds confirmation "https://yoursite.com/index.php?param1=3&param2=1" The return URL transforms it to "https://yoursite.com/index.php?param1=3&amp;param2=1" . This is breaking my site controllers as everything is handled in index. Is there a way around this?

Transaction Meta data

How to add meta data for transactions?

Recurring Payment and Reusable Payment Method

Hi, regarding paymongo Payment Intent API. 1. Can I use the same Payment Method ID when I create a new Payment Intent? 2. How many times can I use the Payment Method ID for different Payment Intents? My use case for this is to ease customer payment experience for those who already bought from our store by giving them the ability to pay in one-click Another use case is for Recurring payments

Pay By Link Webhook

Can we listen for Pay By Link events on a webhook?

Getting api_key_required error

Luigel\Paymongo\Exceptions\UnauthorizedException {"errors":[{"code":"api_key_required","detail":"You did not provide an API key. Go to https://developers.paymongo.com/docs/authentication to know more about our API authentication."}]} I am using paymongo SDK for laravel.

Need help in generating webhook signature from source.chargeable event request

Header received in a request... "Paymongo-Signature": "t=1620901532,te=0c6fcee4abf200e6b8858c2b6fc5f773c3920e1087f9cb4c4d67d4c7212dbe7d,li=", payload received: "body": "{\"data\":{\"id\":\"evt_kVBbtHrJcsHSNC2oAKoGcjsL\",\"type\":\"event\",\"attributes\":{\"type\":\"source.chargeable\",\"livemode\":false,\"data\":{\"id\":\"src_MGZPYvicoDMSQrv7tbn7tGjR\",\"type\":\"source\",\"attributes\":{\"amount\":15500,\"billing\":{\"address\":{\"city\":\"Bengaluru\",\"country\":null,\"line1\":\"\",\"line2\":\"Marine Drive, Benga\",\"postal_code\":null,\"state\":\"Karnataka\"},\"email\":\"[email protected]\",\"name\":\"Shashi Kant\",\"phone\":\"6203362289\"},\"currency\":\"PHP\",\"livemode\":false,\"redirect\":{\"checkout_url\":\"https://test-sources.paymongo.com/sources?id=src_MGZPYvicoDMSQrv7tbn7tGjR\",\"failed\":\"http://localhost:3000/checkout\",\"success\":\"http://localhost:3000/checkout\"},\"status\":\"chargeable\",\"type\":\"grab_pay\",\"created_at\":1620901511,\"updated_at\":1620901514}},\"previous_data\":{},\"created_at\":1620901514,\"updated_at\":1620901514}}}", trying to create a signature sign = "1620901532.{\"data\":{\"id\":\"evt_kVBbtHrJcsHSNC2oAKoGcjsL\",\"type\":\"event\",\"attributes\":{\"type\":\"source.chargeable\",\"livemode\":false,\"data\":{\"id\":\"src_MGZPYvicoDMSQrv7tbn7tGjR\",\"type\":\"source\",\"attributes\":{\"amount\":15500,\"billing\":{\"address\":{\"city\":\"Bengaluru\",\"country\":null,\"line1\":\"\",\"line2\":\"Marine Drive, Benga\",\"postal_code\":null,\"state\":\"Karnataka\"},\"email\":\"[email protected]\",\"name\":\"Shashi Kant\",\"phone\":\"6203362289\"},\"currency\":\"PHP\",\"livemode\":false,\"redirect\":{\"checkout_url\":\"https://test-sources.paymongo.com/sources?id=src_MGZPYvicoDMSQrv7tbn7tGjR\",\"failed\":\"http://localhost:3000/checkout\",\"success\":\"http://localhost:3000/checkout\"},\"status\":\"chargeable\",\"type\":\"grab_pay\",\"created_at\":1620901511,\"updated_at\":1620901514}},\"previous_data\":{},\"created_at\":1620901514,\"updated_at\":1620901514}}} after running this with sha256 hash function the test-part in the paymongo-signature header does not match? Need help as to what is the action raw json payload of the api request

Redirect on Credit Card Authentication?

For a source payment there's a redirect success and failure option. This allows me to redirect the customer to subsequent urls and to other pages altogether. Is this not available with credit card transactions? Do we have to window listeners and modals for updates?

Accessing API

I got {"errors":[{"code":"api_key_invalid","detail":"API key has invalid encoding. Go to https://developers.paymongo.com/docs/authentication to know more about our API authentication."}]} Even though I already Logged-In my account as a basic authentication.

Bank Statement displaying the word "SAN FRANCISCOUS"

Hi, I recently completed an integration with Paymongo. But upon testing, the description displayed on my customer's statement is incorrect and causing confusion. The statement_descriptor in my payload request is explicitly set to "Merville Park Homeowners Association" but the description displayed (UNION Bank) is "VISA-PM* MERVILLE PAR SAN FRANCISCOUS". I've contacted your customer support team and they are saying that this is just an indicator that Paymongo is using. Is there a way to override this?\ Thanks