Discussions
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
Posted by Shashi Kant almost 3 years ago
Paymongo not accepting my payment
I am trying to pay with my wellsfargo visa credit card through paymongo for a transaction in the philippines, but it keeps on giving a message that this payment type is not accepted, try a different payment method or credit card. I have sufficient fund and there is no issue with the bank institution here...
Posted by Jolina Salcedo over 2 years ago
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?
Posted by Ranbir Anand Mahtani almost 3 years ago
Payout API
Hi guys,
Just wanted to ask if paymongo supported payout API? My use case scenario is sending money from my paymongo account to the user's choice of e-wallet/bank (cash or debit card). Not sure if this is possible in the current API of paymongo.
Thanks.
Posted by [email protected] over 1 year ago
Webhook still on "resource_processing_state" 1 hour after the payment source is not authorized
I'm trying to update my test webhook but it always return "resource_processing_state" but the payment source I have created is more than 1 hour.
Posted by Herminio Amboni over 2 years ago
Recurring Payments
Hi!
Do you have any updates for the support of Recurring Payments?
Thanks!
Posted by Pauline over 1 year ago
Paymongo on Wix
Will Paymongo work on Wix?
Posted by Kai Quin almost 2 years ago
Blocked a frame with origin "http://localhost:3000" from accessing a cross-origin frame.
I have created the modal that shows the paymongo interface/iframe for payment but it's not possible to interact with it because of CORS message.
Blocked a frame with origin "http://localhost:3000" from accessing a cross-origin frame.
Posted by Kent about 1 year ago
How to set amount lower than 100?
Posted by Louise over 2 years ago
Fetching the payment link
How to fetch the link for the payment in java or android studio
Posted by Dale Franklin over 2 years ago