Discussions

Ask a Question

400 Bad Request api (`POST https://api.paymongo.com/v1/sources` resulted in a `400 Bad Request`),({"errors":[{"code":"invalid_payload_format","detail":"attributes cannot be blank."}]})

on PHP `POST https://api.paymongo.com/v1/sources` resulted in a `400 Bad Request` on TypeScript of Javascript {"errors":[{"code":"invalid_payload_format","detail":"attributes cannot be blank."}]} why im getting this kind of error? i'm using the test key by the way because i still haven't activate my account yet can someone help me or tell me how to overcome or fix this error😭 im using xammp,postman,thunderclient for php im using angular v-10
ANSWERED

Testing our apk and it says payment method must be in live mode

Hello, anyone who experienced this? When we test the payment method it is already looking for live creds and true cards.
ANSWERED

Can't disable a webhook

I am trying to disable a webhook, however I am getting the following error: { "errors": [ { "code": "resource_processing_state", "detail": "Webhook with id hook_<WEBHOOK_ID> is still being processed." } ] } Any help is appreciated.
ANSWERED

Paymaya awaiting_next_action status

What should I do for this return status, What should next? There is no pop up page or redirect page to enable customer to authorize the payment. I already declare return_url. In the documentation it says, awaiting_next_action means your customer must authenticate the e-wallet payment. but no page or pop info in order for the customer to authenticate the payment.

Gonna ask if it is a viable request for educational/thesis purpose only

May I ask if we are able to use this payment gateway Api platform to develop a website with similar transactions made like Kickstarter, although ours focuses mainly on IT projects and similar prospects (Gaming, IoT, and etc.)
ANSWERED

Status return

How do I get a return from the payment status in Mobile, since I redirect the customer using the link provided by the Paymongo for the payments. I need the return value so if the customer proceeded the payment or cancelled/exited. Or do I need to use the retrieve a link/get link by reference and just wait to get the status? Seems a bit repetitive if so.

LaraPaymongo Package

What do you think about my Laravel+Paymongo package? https://github.com/francisfueconcillo/larapaymongo Please try it out and provide some feedbacks.

Android Studio Integration

Is there a tutorial on how to integrate the PayMongo on Android Studio?
ANSWERED

source.chargeable vs payment.paid

If we received the event source.chargeable in the webhook, does this mean that the payment status is success already? We can disregard the payment.paid event?

PaymentMethod foreign card status to be predictable before payment or attaching it to a PaymentIntent

It's useful to know if a card is foreign to predict the amount we show to our users before attaching a "card" Payment Method to a Payment Intent. Issues: - It was due to the amount we input for the Payment Intent is the actual gross amount. So we have to put the correct amount. - It was due to a payment is automatically processed when a Payment Method is attached to a Payment Intent. On our end, it is somehow a bad/inappropriate workaround to show to users that the card payment fee will be "4.5% + P15" all the time instead of showing between it and "3.5% + P15" just to protect us from the unknown card status if it is a foreign card. By the way, the reason we show the percentage is to be transparent with the monetary breakdown to our users. Another improvement to this might be: - Not auto process payment right away when attaching payment method if it show the card as foreign in a PaymentIntent. - Let us have the option set the "net" amount instead of "gross" amount in the Payment Intent API.