After payment successful how can I get payment status or paymentid in redirect url using mollie? - mollie

After payment successful how can I get payment status or payment id in redirect URL using Mollie payment gateway?

Related

How to excute in Rest API if the return_url request lost after user has paid

I am integrating Express Checkout payments in my web by using REST API, and setting the payment intent to sale for making an immediate payment.
Here follows my steps:
1. create a direct payment by /v1/payments/payment, and set redirect_urls;
2. redirect the buyer using the approval_url in the response of step1;
3. when the buyer approves the payment, the full page will be redicrected to the url that I've been provided in redirect_urls, and then I will execute the payment to complete the payment.
My question here:
what if the redirect_url lost in my step3? The buyer paid but I wouldn't be notified. I would not receive the PAYMENT.SALE.COMPLETED webhook neither because I didn't execute the payment.

Masspay paypal option to get ipn response through URL not from paypal account

Is there an option in Paypal Masspay to get notifications about transactions like IPN response through API URL, and not from the Paypal account.

how to set CreateRecurringPaymentsProfile IPN

Step 1.
request with SetExpressCheckout
if get success then redirect to paypal
Step 2. curl request with method DoExpressCheckoutPayment With notify url
( getting response only one time )
step 3 if get success response then curl request with method CreateRecurringPaymentsProfile
is my process flow right to create an intent payment and make a recurring profile ?
and my problem is that i not getting any IPN response when, payment automatically after 1 day.
How to fix this.
Login in to http://developer.paypal.com/webapps/developer/applications/accounts
Create an Business (merchant account) account and login to http://sandbox.paypal.com/ with your
Business (merchant account) and password and click on profile then click **Instant Payment Notification preferences and set your ipn url

Paypal Sandbox ExpressCheckout NVP not creating transaction

I'm trying to integrate PayPal Classic API NVP to our website but I'm having issues with the SetExpressCheckout API call.
I'm using the useraction=commit parameter for the payer to confirm the sale directly at PayPal.
My issue is after "Pay now" is clicked, PayPal redirects to the URL I send as RETURNURL but I don't see the transaction on the sandbox account or by using TransactionSearch.
These are the parameters I send for checkout:
METHOD=SetExpressCheckout
EMAIL=payerEmail
SOLUTIONTYPE=Sole
RETURNURL=myReturnUrl
CANCELURL=myCancelUrl
PAYMENTREQUEST_0_AMT=30.00
PAYMENTREQUEST_0_ITEMAMT=30.00
PAYMENTREQUEST_0_CURRENCYCODE=USD
PAYMENTREQUEST_0_CUSTOM=myCustomId
PAYMENTREQUEST_0_PAYMENTACTION=Sale
L_PAYMENTREQUEST_0_QTY0=1
L_PAYMENTREQUEST_0_AMT0=30.00
L_PAYMENTREQUEST_0_NAME0=myProduct
After payment, PayPal redirects to
myReturnUrl?token={Token}&PayerID={PayerId}
It's normal. The transaction is set, but you need to complete it using the DoExpressCheckoutPayment api operation.
More information and an example here: https://devtools-paypal.com/guide/expresscheckout/dotnet?success=true&token=EC-7BD474648D4932937&PayerID=WNW7LMW2UXQJG

Payerid is not returned in Express Checkout GetExpressCheckoutDetails

Im currently using Sandbox.
I have returned a token from SetExpressCheckout and using this in GetExpressCheckoutDetails I have returned ACK=success here too, but no Payerid was included in the return parameters.
When I did the redirect using the returned url from SetExpressCheckout, I got to a paypal page saying the transaction had timed out. Should I have expected this or should I somehow sign into paypal sandbox as the buyer to approve the transaction. Not sure how this works in sandbox.