@@ -84,18 +84,18 @@ |
||
84 | 84 | return $this->doPayPalRequest(); |
85 | 85 | } |
86 | 86 | |
87 | - /** |
|
88 | - * Captures payment for an order. |
|
89 | - * |
|
90 | - * @param string $order_id |
|
91 | - * @param array $data |
|
92 | - * |
|
93 | - * @throws \Throwable |
|
94 | - * |
|
95 | - * @return array|\Psr\Http\Message\StreamInterface|string |
|
96 | - * |
|
97 | - * @see https://developer.paypal.com/docs/api/orders/v2/#orders_capture |
|
98 | - */ |
|
87 | + /** |
|
88 | + * Captures payment for an order. |
|
89 | + * |
|
90 | + * @param string $order_id |
|
91 | + * @param array $data |
|
92 | + * |
|
93 | + * @throws \Throwable |
|
94 | + * |
|
95 | + * @return array|\Psr\Http\Message\StreamInterface|string |
|
96 | + * |
|
97 | + * @see https://developer.paypal.com/docs/api/orders/v2/#orders_capture |
|
98 | + */ |
|
99 | 99 | public function capturePaymentOrder($order_id, array $data = []) |
100 | 100 | { |
101 | 101 | $this->apiEndPoint = "v2/checkout/orders/{$order_id}/capture"; |