• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problem with DotPay payment in the GesiorShop system modified by Slawkens

Haskys

Member
Joined
Jul 19, 2019
Messages
97
Reaction score
8
Location
Poland
Hello,
I use MyACC by Slawkens and GesiorShop, a system modified by Slawkens - all downloaded from MyAAC Official Website – Official site of the MyAAC. The best AAC in the world! (http://my-aac.org/) in the latest version.
After configuring the DotPay function,

PHP:
/**
 * dotpay.pl configuration
 */
$config['dotpay'] = array(
    'enabled' => true,
    'id' => 99999,                            # numer ID zarejestrowanego klienta 
    'contact_email' => '[email protected]',
    'options' => array(
        array( # SMS 3,66 zł
            'code' => "SLASKI",                # identyfikator uslug SMS
            'type' => "sms",                # typ konta: C1 - 8 znakowy kod bezobslugowy, sms - dla sprawdzania SMSow
            'points' => 25,                    # ile premium punktow daje dany sms
            'sms_number' => 73068,            # numer na jaki nalezy wyslac kod
            'sms_text' => "AP.SLASKI",        # tresc jaka ma byc w SMSie
            'cost' => "3.66 zł brutto"        # cena za wyslanie sms
        ),
        array( # Przelew 15zł
            'code' => "100POINTS",
            'type' => "C1",
            'points' => 100,
            'cost' => "15 zł brutto"
        )
    )
);

(Of course I change my customer number for mine. &
Do not look at the SMS configuration, it is default and I do not care - it will be deleted.)

unfortunately it does not work, after clicking a link a message is displayed on the DotPay website: "An error occured Payments are temporarily impossible. Please try again later. If you need additional information, please contact the xxx dealer directly.

pri.JPG


At DotPay, I have set up a "payment link" but I'm not sure if it's correct.


In dotpay logs he receives information: Warning Payment API error. Currency code is required for Chk code

Can anyone help in this regard?
What should I check?

Haskys

@slawkens @Gesior.pl

will you help me?
 
Solution
I just checked current documentation. Link to payment should be in format:
Code:
https://ssl.dotpay.pl/t2/?id=123456&amount=123.00&currency=PLN&description=Test
Acc. maker has old version which required only 'id' and 'amount'. New version requires also 'currency' and 'description'. Other important thing is that new version URL ends with '/t2/' for production environment.

Current version documentation:
Dotpay - Technical manual for payments implementation (https://www.dotpay.pl/developer/doc/api_payment/en/)

EDIT:
I can't find information about 'code' in current documentation.
I just checked current documentation. Link to payment should be in format:
Code:
https://ssl.dotpay.pl/t2/?id=123456&amount=123.00&currency=PLN&description=Test
Acc. maker has old version which required only 'id' and 'amount'. New version requires also 'currency' and 'description'. Other important thing is that new version URL ends with '/t2/' for production environment.

Current version documentation:
Dotpay - Technical manual for payments implementation (https://www.dotpay.pl/developer/doc/api_payment/en/)

EDIT:
I can't find information about 'code' in current documentation.
 
Solution
I just checked current documentation. Link to payment should be in format:
Code:
https://ssl.dotpay.pl/t2/?id=123456&amount=123.00&currency=PLN&description=Test
Acc. maker has old version which required only 'id' and 'amount'. New version requires also 'currency' and 'description'. Other important thing is that new version URL ends with '/t2/' for production environment.

Current version documentation:
Dotpay - Technical manual for payments implementation (https://www.dotpay.pl/developer/doc/api_payment/en/)

EDIT:
I can't find information about 'code' in current documentation.


I have seen this documentation only I do not know how to deal with it, have you not updated your ACC for these requirements?

Pozdro,
 
As I remember DotPay implementation in acc. maker is very bad - it's compatible with DotPay version from 2008 or 2009.
It send some 'codes' to e-mail of person that pay by card/bank transfer.

In current version of DotPay, there must be an option to report payments to some URL (special acc. maker URL) after DotPay receive money from user.
It would requrie new DotPay implementation. I don't have time to do this.
 
Back
Top