Discussions

Ask a Question

CORS error

Hi, our paymongo integration was working fine but now we're suddenly getting this CORS error - we didn't make any code changes. Is there anything that was changed to Paymongo API on your side? What can we do to resolve this?

Need help with my webhook signature on laravel/PHP

public function test(Request $request){

Securing a Webhook.

I did not understand this part of instruction. Could you elaborate further and provide an example of how the data should be look?

What should I do if I encounter a 429 error?

Error code: 429

sandbox

how to access the sandbox environment in paymongo and how to use it? can you helpme?

Why is my webhook not working on Livemode?

Webhook is fine when I'm testing it out using TEST API but when I use LIVE API KEYS it does not work?

TypeError: paymongo.paymentMethods.create is not a function

i got this code from paymongo-node sdks github repo.

create wallet account

how to create wallet id

Hi I am getting an error. I tested this using the card numbers in Testing.

Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST https://api.paymongo.com/v1/payments resulted in a 400 Bad Request response: {"errors":[{"code":"parameter_invalid","detail":"The source.type passed card is invalid.","source":{"pointer":"source.ty (truncated...) in C:\xampp\htdocs\paymongo\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:113 Stack trace: #0 C:\xampp\htdocs\paymongo\vendor\guzzlehttp\guzzle\src\Middleware.php(72): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL) #1 C:\xampp\htdocs\paymongo\vendor\guzzlehttp\promises\src\Promise.php(209): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response)) #2 C:\xampp\htdocs\paymongo\vendor\guzzlehttp\promises\src\Promise.php(158): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL) #3 C:\xampp\htdocs\paymongo\vendor\guzzlehttp\promises\src\TaskQueue.php(52): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}() #4 C:\xampp\htdocs\paymongo\vendor\guzzlehttp\promises\src\Promise.php(251): GuzzleHttp\Promise\TaskQueue->run(true) #5 C:\xampp\htdocs\paymongo\vendor\guzzlehttp\promises\src\Promise.php(227): GuzzleHttp\Promise\Promise->invokeWaitFn() #6 C:\xampp\htdocs\paymongo\vendor\guzzlehttp\promises\src\Promise.php(272): GuzzleHttp\Promise\Promise->waitIfPending() #7 C:\xampp\htdocs\paymongo\vendor\guzzlehttp\promises\src\Promise.php(229): GuzzleHttp\Promise\Promise->invokeWaitList() #8 C:\xampp\htdocs\paymongo\vendor\guzzlehttp\promises\src\Promise.php(69): GuzzleHttp\Promise\Promise->waitIfPending() #9 C:\xampp\htdocs\paymongo\vendor\guzzlehttp\guzzle\src\Client.php(189): GuzzleHttp\Promise\Promise->wait() #10 C:\xampp\htdocs\paymongo\create_payment.php(100): GuzzleHttp\Client->request('POST', 'https://api.pay...', Array) #11 {main} thrown in C:\xampp\htdocs\paymongo\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113

Test mode not working in wordpress/woocommerce

I'm getting There are no payment methods available error though I enabled the test environment and setup the keys and tokens.