Method |
Description |
|
getAuthAlgo ( ) : string |
The algorithm that PayPal uses to generate the signature and that you can use to verify the signature. Extract this value from the PAYPAL-AUTH-ALGO response header, which is received with the webhook notification. |
|
getCertUrl ( ) : string |
The X.509 public key certificate. Download the certificate from this URL and use it to verify the signature. Extract this value from the PAYPAL-CERT-URL response header, which is received with the webhook notification. |
|
getTransmissionId ( ) : string |
The ID of the HTTP transmission. Contained in the PAYPAL-TRANSMISSION-ID header of the notification message. |
|
getTransmissionSig ( ) : string |
The PayPal-generated asymmetric signature. Extract this value from the PAYPAL-TRANSMISSION-SIG response header, which is received with the webhook notification. |
|
getTransmissionTime ( ) : string |
The date and time of the HTTP transmission. Contained in the PAYPAL-TRANSMISSION-TIME header of the notification message. |
|
getWebhookEvent ( ) : WebhookEvent |
The webhook notification, which is the content of the HTTP POST request body. |
|
getWebhookId ( ) : string |
The ID of the webhook as configured in your Developer Portal account. |
|
post ( ApiContext $apiContext = null, PayPalRestCall $restCall = null ) : VerifyWebhookSignatureResponse |
Verifies a webhook signature. |
|
setAuthAlgo ( string $auth_algo ) |
The algorithm that PayPal uses to generate the signature and that you can use to verify the signature. Extract this value from the PAYPAL-AUTH-ALGO response header, which is received with the webhook notification. |
|
setCertUrl ( string $cert_url ) |
The X.509 public key certificate. Download the certificate from this URL and use it to verify the signature. Extract this value from the PAYPAL-CERT-URL response header, which is received with the webhook notification. |
|
setTransmissionId ( string $transmission_id ) |
The ID of the HTTP transmission. Contained in the PAYPAL-TRANSMISSION-ID header of the notification message. |
|
setTransmissionSig ( string $transmission_sig ) |
The PayPal-generated asymmetric signature. Extract this value from the PAYPAL-TRANSMISSION-SIG response header, which is received with the webhook notification. |
|
setTransmissionTime ( string $transmission_time ) |
The date and time of the HTTP transmission. Contained in the PAYPAL-TRANSMISSION-TIME header of the notification message. |
|
setWebhookEvent ( WebhookEvent $webhook_event ) |
The webhook notification, which is the content of the HTTP POST request body. |
|
setWebhookId ( string $webhook_id ) |
The ID of the webhook as configured in your Developer Portal account. |
|