TMSFNCCloudPayPal

Hi Support,

PayPal never fire the OnPaymentCancelled-Event.

Take a look at:
TTMSFNCApprovalProcess.ProcessAuthenticationCallbackURL

if ParseTokenFromCallBackURL(ACallBackURLResult, '&', 'token') = '' then
FPayPal.DoPaymentCancelled

When I press Cancel on the PayPal-Website follow URL is called:
http://127.0.0.1:8888/?token=EC-70D438338H025772X”

→ OnPaymentFailed get (wrongly) fired

Best regards

Hi,

Thank you for notifying us.
This issue has now been resolved, the OnPaymentCancelled event is now getting triggered correctly. The update will be available with the next TMS FNC Cloud Pack release.

Thank you :blush:

Happy to help!