Skip to content

Instantly share code, notes, and snippets.

@marysmech
marysmech / MyPurchaseCompleteController.php
Last active January 29, 2018 09:27
GoPay module for Drupal 8 - example
<?php
namespace Drupal\my_module\Controller;
use Drupal\Core\Controller\ControllerBase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\gopay\GoPayFactoryInterface;
use Drupal\Core\Url;
use Drupal\gopay\GoPayState;
use GoPay\Definition\Payment\Currency;