This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

Makes bluesnap for yii2 much easier

dev-master 2021-12-18 12:33 UTC

This package is auto-updated.

Last update: 2022-06-18 13:33:36 UTC


Greetings, stranger.

Module designed for those who want use BlueSnap and write less as possible code. I hope, you would enjoy it.
Please, don't hesitate talk to me and report issues.

Best regards,
Alexander Chertovsky

Instalation manual


Inside config make

return [
    'modules' => [
        'bluesnap' => [
            'class' => 'achertovsky\bluesnap\Module',
            'defaultStoreId' => 'fillme',
            'clientSideEncryptionKey' => 'fillme',
            'username' => 'fillme',
            'password' => 'fillme',
            // OR
            // code below is instruction how to fill 'authToken' field. Refer
            // (module gonna do same if u provide username and pwd instead)
            // $encodedString = 'Basic '.base64_encode('username:password');
            // 'authToken' => $encodedString;
            'antiFraudSalt' => 'some word/phrase/anything that u want to use. it gonna be used to generate anti-fraud token. make sure only u and trusted people know it :)',
            'sellerId' => 'fillme',
            'dataProtectionKey' => 'fillme', //set it only if you want to use "Require Notification Receipt". Otherwise it wont be used
            'backToSellerUrl' => '',
    'components' => [
        'bluesnap' => [
            'class' => 'achertovsky\bluesnap\Bluesnap',


Run through this manual
WARNING i assume after changing you wont be able to decrypt already encrypted parameters.


Configure your IPN url according this manual

4 (optional)

To support paypal run through: Support paypal subscriptions:

Usage examples

Check wiki for usage examples.