Skip to content

test mode for payCode - work? #40

@eok8177

Description

@eok8177

in My projects -> Project -> Sofort -> Options -> Test mode: -> Set checked

run this code:

    $configkey = env('SOFORT_API_KEY');

    $SofortLibPaycode = new Paycode($configkey);

    $SofortLibPaycode->setAmount(1.00)
       ->setLanguageCode('de')
        ->setCurrencyCode('EUR')
        ->setReason('sofort.com - Test', '8fb8400661')
        ->setSuccessUrl('http://lvh.me:8000/success')
        ->setSuccessLinkRedirect(1)
        ->setAbortUrl('http://lvh.me:8000/abort')
        ->setNotificationUrl('http://lvh.me:8000/notify')
        ->setUserVariable('Test123');

    $SofortLibPaycode->createPaycode();

and I get: Error: 6100:Paycode request could not be processed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions