Confirmed Paypal onWebHook potential problem

  • Alex Chartier
  • Onderwerp Auteur
  • Offline
Lees meer
1 week 1 dag geleden #3608 door Alex Chartier
Paypal onWebHook potential problem werd gestart door Alex Chartier
Hi Ruud,

Just happened to notice that in the onWebHook function you test whether there is a request and orderID in the response. If either are not there you log an error but then the code falls through which I am not sure you want to do.

Just thought I would mention it.

Cheers.

Graag Inloggen deelnemen aan het gesprek.

Lees meer
1 week 20 uren geleden #3609 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Paypal onWebHook potential problem
Hi Alex,
good catch: currently testing with a 'close' after the error.
for the working it will not make a difference as when these variables are not set the webhook will stop anyway in a later stage: but stopping early will save a roundtrip to the PayPal API.

Graag Inloggen deelnemen aan het gesprek.