completeSubscription() публичный Метод

Use this call to execute an agreement after the buyer approves it.
public completeSubscription ( array $parameters = [] ) : Omnipay\PayPal\Message\RestCompleteSubscriptionRequest
$parameters array
Результат Omnipay\PayPal\Message\RestCompleteSubscriptionRequest
Пример #1
0
 public function testCompleteSubscription()
 {
     $this->setMockHttpResponse('RestExecuteSubscriptionSuccess.txt');
     $response = $this->gateway->completeSubscription($this->subscription_options)->send();
     $this->assertTrue($response->isSuccessful());
     $this->assertNull($response->getMessage());
     $this->assertEquals('I-0LN988D3JACS', $response->getTransactionReference());
 }