You are here

public function PayPalPaymentECPaymentExecution::testPaymentExecutionSuccessAutomaticCapture in PayPal for Payment 7

Tests payment execution.

File

paypal_payment_ec/tests/PayPalPaymentECPaymentExecution.test, line 35
Contains \PayPalPaymentECPaymentExecution.

Class

PayPalPaymentECPaymentExecution
Tests payment execution.

Code

public function testPaymentExecutionSuccessAutomaticCapture() {
  $this
    ->assertPaymentExecution(PayPalPaymentECPaymentMethodController::NVP_API_SERVER_PRODUCTION, PayPalPaymentECPaymentMethodController::CAPTURE_AUTOMATIC, PAYMENT_STATUS_SUCCESS);
}