Метод | Описание | |
---|---|---|
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\External\PaypalExpressCheckoutPageInterface $paypalExpressCheckoutPage, Sylius\Behat\Page\Shop\Order\ShowPageInterface $orderDetails, Sylius\Behat\Page\Shop\Checkout\CompletePageInterface $summaryPage, Sylius\Behat\Service\Mocker\PaypalApiMocker $paypalApiMocker, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository ) | ||
iCancelMyPaypalPayment ( ) | ||
iConfirmMyOrderWithPaypalPayment ( ) | ||
iShouldBeNotifiedThatMyPaymentHasBeenCancelled ( ) | ||
iShouldBeNotifiedThatMyPaymentHasBeenCompleted ( ) | ||
iShouldBeRedirectedToPaypalExpressCheckoutPage ( ) | ||
iSignInToPaypalAndPaySuccessfully ( ) | ||
iTryToPayAgain ( ) |
Метод | Описание | |
---|---|---|
assertNotification ( string $expectedNotification ) |
public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\External\PaypalExpressCheckoutPageInterface $paypalExpressCheckoutPage, Sylius\Behat\Page\Shop\Order\ShowPageInterface $orderDetails, Sylius\Behat\Page\Shop\Checkout\CompletePageInterface $summaryPage, Sylius\Behat\Service\Mocker\PaypalApiMocker $paypalApiMocker, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository ) | ||
$sharedStorage | Sylius\Behat\Service\SharedStorageInterface | |
$paypalExpressCheckoutPage | Sylius\Behat\Page\External\PaypalExpressCheckoutPageInterface | |
$orderDetails | Sylius\Behat\Page\Shop\Order\ShowPageInterface | |
$summaryPage | Sylius\Behat\Page\Shop\Checkout\CompletePageInterface | |
$paypalApiMocker | Sylius\Behat\Service\Mocker\PaypalApiMocker | |
$orderRepository | Sylius\Component\Core\Repository\OrderRepositoryInterface |