Fix for ValidateWebhookEvent - Fatal error (#1300)

* Test against php 7.3
* fix for ValidateWebhookEvent - Fatal error
* fixed typo
This commit is contained in:
Prakash Gangadharan
2019-10-15 23:02:55 +05:30
committed by GitHub
parent 647c8c49bc
commit 4ddb1de829
6 changed files with 11 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ that has been approved by
the buyer by logging into paypal site.
You can optionally update transaction
information by passing in one or more transactions.
API used: POST &#39;/v1/payments/payment/<payment-id>/execute&#39;.</p></div></div><div class="code"><div class="wrapper"><span class="hljs-keyword">require</span> <span class="hljs-keyword">__DIR__</span> . <span class="hljs-string">'/../bootstrap.php'</span>;
API used: POST &#39;/v1/payments/payment/{payment_id}/execute&#39;.</p></div></div><div class="code"><div class="wrapper"><span class="hljs-keyword">require</span> <span class="hljs-keyword">__DIR__</span> . <span class="hljs-string">'/../bootstrap.php'</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">PayPal</span>\<span class="hljs-title">Api</span>\<span class="hljs-title">Amount</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">PayPal</span>\<span class="hljs-title">Api</span>\<span class="hljs-title">Details</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">PayPal</span>\<span class="hljs-title">Api</span>\<span class="hljs-title">Payment</span>;