Merchant ID & Encryption Key

There are two mandatory parameters for euplatesc operations:

  • merchant id
  • encryption key.

These settings can be found in your euplatesc account under Admin -> Gestionare cont as "ID Cont" (merchant id) and "Cheie" (encryption key).

To set these values in your application add the values to your application's .env file:


Using a Custom Gateway ID

The gateway gets registered with the default id (euplatesc) but you can change this id from within the module configuration:

return [
    'modules' => [
        Vanilo\Euplatesc\Providers\ModuleServiceProvider::class => [
            'gateway' => [
                'register' => true,
                'id' => 'my-fancier-than-yours-gateway-id'