[MyAAC][Plugin] Gesior Shop System

OP
slawkens

slawkens

Developer
Premium User
Joined
Aug 27, 2007
Messages
2,867
Best answers
60
Reaction score
379
Location
Germany
Hello guys. I have a problem :/ I've downloaded and configured myaac-gesior-shop-system-v2.0. Everything is fine, but I have a problem with paypal. I've set email etc in config file. Then on page, I can send donation. Donations are sending but when I back to the page, I don't get any points. What's wrong?
What do you see when you go to: Log in to your PayPal account ? (you need to visit it from your PayPal configured address).

Is it showing that transaction is there? If so, what is the status of it? Was it sent, any error returned?

Next question: do you have PHP-cURL extension installed? That is often the reason why it isn't working.
 
Last edited by a moderator:

Warmix

New Member
Joined
Mar 28, 2010
Messages
18
Best answers
1
Reaction score
2
Next question: do you have PHP-cURL extension installed? That is often the reason why it isn't working.
Corret :) I had curl, but I have to install php-curl. Now works correct :) Nice work and thanks!
 

delita123

Member
Joined
Mar 7, 2017
Messages
100
Best answers
0
Reaction score
23
Hey Warmix, nice plugin bro, you're amazing.

But i have a problem. My character in game didn't receive the item when i click to buy in website.
My tfs is 1.3 and i didn't have store system enable, this is the problem ?

Thanks!
 
Joined
Sep 10, 2015
Messages
148
Best answers
0
Reaction score
1
@slawkens
PHP:
$config['paypal'] = array(
    'enabled' => true,
    'email' => 'das',
    'contact_email' => '', // if empty, email is used
    'item_name' => 'Tibia Coins',
    'payment_type' => '_xclick', // '_xclick' (Buy Now) or '_donations'
    'currency_code' => 'EUR', // https://developer.paypal.com/docs/integration/direct/rest/currency-codes/
    'use_sandbox' => false, // set to true if you want to test IPN in sandbox mode
    'terms' => true, // display terms?

    'options' => array( // cost in EUR => points
        '7.00' => 300,
    )
),
how i can add there also USD and other values?

jak mogędo tego dodać usd i inne waluty? bo nie ogarniam
 
OP
slawkens

slawkens

Developer
Premium User
Joined
Aug 27, 2007
Messages
2,867
Best answers
60
Reaction score
379
Location
Germany
@slawkens
PHP:
$config['paypal'] = array(
    'enabled' => true,
    'email' => 'das',
    'contact_email' => '', // if empty, email is used
    'item_name' => 'Tibia Coins',
    'payment_type' => '_xclick', // '_xclick' (Buy Now) or '_donations'
    'currency_code' => 'EUR', // https://developer.paypal.com/docs/integration/direct/rest/currency-codes/
    'use_sandbox' => false, // set to true if you want to test IPN in sandbox mode
    'terms' => true, // display terms?

    'options' => array( // cost in EUR => points
        '7.00' => 300,
    )
),
how i can add there also USD and other values?

jak mogędo tego dodać usd i inne waluty? bo nie ogarniam
You can use only one currency across the whole script. If you want to use USD instead of EUR, then just change this line:
Code:
'currency_code' => 'EUR',
 

Dorianek

Member
Joined
Nov 29, 2018
Messages
212
Best answers
0
Reaction score
8
Location
Poland
Please fill all fields. Item ID is empty or its not a number.

Help

Hello, I can not create an item in accmaker because all the time I see such a message I have to set something in the config or write something wrong? I have three headings
I enter and nothing

can anyone advise me what and how?

possibly send a screen how it should look there? maybe he misspells something
 

Dorianek

Member
Joined
Nov 29, 2018
Messages
212
Best answers
0
Reaction score
8
Location
Poland
Lua Script Error: [GlobalEvent Interface]
data/globalevents/scripts/gesior-shop-system.lua:eek:nThink
data/globalevents/scripts/gesior-shop-system.lua:67: attempt to call field 'getDataString' (a nil value)
stack traceback
[C]: in function 'getDataString'
data/globalevents/scripts/gesior-shop-system.lua:67: in function 'getResults'
data/globalevents/scripts/gesior-shop-system.lua:176: in function <data/globalevents/scripts/gesior-shop-system.lua:167>
[Error - GlobalEvents::think] Failed to execute event: gesior-shop-system

Lua Script Error: [GlobalEvent Interface]
data/globalevents/scripts/gesior-shop-system.lua:eek:nThink
data/globalevents/scripts/gesior-shop-system.lua:67: attempt to call field 'getDataString' (a nil value)
stack traceback:
[C]: in function 'getDataString'
data/globalevents/scripts/gesior-shop-system.lua:67: in function 'getResults'
data/globalevents/scripts/gesior-shop-system.lua:176: in function <data/globalevents/scripts/gesior-shop-system.lua:167>
[Error - GlobalEvents::think] Failed to execute event: gesior-shop-system
 

dunnish

Premium User
Premium User
Joined
Jun 18, 2009
Messages
260
Best answers
1
Reaction score
2
hello!
i have a fresch scheema and just installed myacc with gesior for my acc.
and now when im trying to donate after adding my email inside www\plugins\gesior-shop-system\config.php

but im getting this and paypal takes the cash from my card and put it insde my paypal account and dossnt get any doante points.

 
OP
slawkens

slawkens

Developer
Premium User
Joined
Aug 27, 2007
Messages
2,867
Best answers
60
Reaction score
379
Location
Germany
hello!
i have a fresch scheema and just installed myacc with gesior for my acc.
and now when im trying to donate after adding my email inside www\plugins\gesior-shop-system\config.php

but im getting this and paypal takes the cash from my card and put it insde my paypal account and dossnt get any doante points.

Did you configure return URL in PayPal to this URL? If so, its wrong.
 

tainsoul

New Member
Joined
Sep 18, 2013
Messages
1
Best answers
0
Reaction score
0
where i config the retpagseguro? where is the link to redirect, i need put it on pagseguro to receive points, i have buy 1 points and the system dont delivery, i mean its hapened because id ont have a n retpagseguro link
 

sloox

Excellent OT User
Joined
Aug 13, 2007
Messages
28
Best answers
0
Reaction score
1
Please fill all fields. Item ID is empty or its not a number.

Help

Hello, I can not create an item in accmaker because all the time I see such a message I have to set something in the config or write something wrong? I have three headings
I enter and nothing

can anyone advise me what and how?

possibly send a screen how it should look there? maybe he misspells something
i have the same, please help
 
OP
slawkens

slawkens

Developer
Premium User
Joined
Aug 27, 2007
Messages
2,867
Best answers
60
Reaction score
379
Location
Germany
For ALL users having problems with points from PayPal being not delivered.

I just released version v2.1.1 of the plugin, fixing the last issue that might cause that problem.

Download here: slawkens/myaac-gesior-shop-system (https://github.com/slawkens/myaac-gesior-shop-system/releases/tag/v2.1.1)

Please download and tell me if it fixed the issue with PayPal for you.

PS. Remember to make copy of your plugins/gesior-shop-system/config.php because installation of the plugin will replace it and you will lose your changes!!
 

Bilia

New Member
Joined
May 22, 2019
Messages
1
Best answers
0
Reaction score
0
I installed the plugin but when I click on ADD item on shop I receive this return:

HTTP ERROR 500

My question is: Do I already have the Gesior tables in my database before install MyAAC?

I have TFS 1.3
 

somyoshi

New Member
Joined
May 4, 2019
Messages
1
Best answers
0
Reaction score
1
I installed the plugin but when I click on ADD item on shop I receive this return:

HTTP ERROR 500

My question is: Do I already have the Gesior tables in my database before install MyAAC?

I have TFS 1.3
Just drop z_shop_offer and apply the plugin again!
 
Top