Discussions
How to Secure Webhooks
I'm creating an endpoint to receive the Checkout Status of each payment.
How can I validate or check each webhook to know that it really came from Paymaya ?
https://developers.maya.ph/61b96fea0580d500252891b5
I checked this link but it not working. Thanks
Posted by Dave Lanto 23 days ago
Got stuck with No.7 with the new migration
For your no.7 instruction, what can I do when the page would not let me paste my token and api even my shop name.
Posted by Jennie 24 days ago
How do we retrieve all payment transactions by merchant?
Hi,
Is there a way to list all transactions under a merchant account filtered by date-time?
Posted by Roland Barro about 1 month ago
Is there any sample code for PHP?
Better if Maya dev provide a sample source code.
Posted by Lap Pham about 1 month ago
How to use parameter 'redirectUrl' in endpoint 'Create Dynamic QR'
Hi Maya Dev,
I am using the endpoint 'Create Dynamic QR' to implement QR code payment. I set redirectUrl including 'success','failure','cancel' with some url parameters. Would like to check with the flow:
1. The website retrieves Maya QR code url from endpoint 'Create Dynamic QR', and redirect User to the QR code url.
2. User opens Maya app with mobile, then scans the QR code.
3. If User pays successfully, in mobile it will redirect to the 'success' url of 'redirectUrl' I set before, same as 'failure' and 'cancel' scenarios.
Is that correct?
And what happens if I leave 'redirectUrl' empty?
Best Regards,
Una
Posted by Una about 1 month ago
What are the refund and cancel expiry times for PayMaya QR Transactions?
Based on https://developers.paymaya.com/docs/voids-and-refund, you can refund a QR transaction on or before 180 days. For cancelling a QR transaction, I'm not sure the exact timespan you can cancel. Can you verify the timespans for refunding and cancelling a QR transaction? Thanks
Posted by Dale about 1 month ago
Invalid Key Scope error
curl --request POST \
--url https://pg-sandbox.paymaya.com/payby/v2/paymaya/payments \
--header 'Accept: application/json' \
--header 'Authorization: Basic cGstbE5BVWsxams3VlBuZjdrb09UMXVvR0pvWkpqbUF4cmJqcGo2dXJCOEVJQTo=' \
--header 'Content-Type: application/json' \
--data '
{
"totalAmount": {
"value": 111,
"currency": "PHP"
},
"redirectUrl": {
"success": "1.com",
"failure": "22.com",
"cancel": "3.com"
},
"requestReferenceNumber": "12412451351"
}
'
why when i test this using sandbox key it always throw error :
{"error":"Invalid key scope. Please check the provided key's scopes.","code":"K007","reference":"db198b36-1cc2-465d-9ff2-218730509740"}
is there something wrong with my request? Thanks
Posted by Albert about 1 month ago
What are the possible values of "status" field of Refund Payment via ID API?
So far what I'm seeing is "SUCCESS" value
Reference: https://developers.paymaya.com/reference/refundv1paymentviaid-2
Posted by Dale about 1 month ago
Can you only void a QR transaction if its status is PAYMENT_SUCCESS?
I'm using "Wallet Payment - Create Single Payment" API to create a QR Transaction. I tried to void a PENDING_TOKEN transaction, but it says that "Payment is not available for void."
What are the conditions that must be met before you can void a QR transaction?
Posted by Dale about 2 months ago
How long transaction will expired if user close browser
How long transaction will be auto expired if user close browser before enter credit card to completed transaction .
Posted by Paymayauser about 2 months ago