| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 74 | public function reAuthorizeAuthorizedPayment($authorization_id, $amount) |
||
| 75 | { |
||
| 76 | $this->apiEndPoint = "v2/payments/authorizations/{$authorization_id}/reauthorize"; |
||
|
1 ignored issue
–
show
|
|||
| 77 | $this->apiUrl = collect([$this->apiUrl, $this->apiEndPoint])->implode('/'); |
||
|
1 ignored issue
–
show
|
|||
| 78 | |||
| 79 | $this->options['json'] = [ |
||
|
1 ignored issue
–
show
|
|||
| 80 | 'amount' => [ |
||
| 81 | 'value' => $amount, |
||
| 82 | 'currency_code' => $this->currency, |
||
| 83 | ], |
||
| 84 | ]; |
||
| 85 | |||
| 86 | $this->verb = 'post'; |
||
|
1 ignored issue
–
show
|
|||
| 87 | |||
| 88 | return $this->doPayPalRequest(); |
||
| 89 | } |
||
| 112 |