[MyAAC][Plugin] PagSeguro (Brazilian payments gateway)

Discussion in 'Website Applications' started by slawkens, Dec 17, 2017.

  1. slawkens

    slawkens Developer Premium User Support Team

    Joined:
    Aug 27, 2007
    Messages:
    2,802
    Likes Received:
    354
    Best Answers:
    51
    So, as some user requested it, here it is. Fresh PagSeguro donate page for MyAAC!

    It will work alone with Tibia Client 11 and built-in shop system (it will give Coins (coins field in database) to the user account).

    OR: If you want it to use with Gesior Shop System and premium_points field, then first install Gesior Shop System, and then this.

    Download: Release myaac-pagseguro 1.0 · slawkens/myaac-pagseguro · GitHub

    Installation:
    Go to Admin Panel, select 'Plugins', and then select myaac-pagseguro.zip and click upload. Thats all!

    Configuration: You'll find it in file plugins/pagseguro/config.php

    Screenshot:
    myaac_pagseguro_2.jpg
    myaac_pagseguro_1.jpg
     
    Last edited by a moderator: Dec 18, 2017
    vGOD, icekis, grafit and 2 others like this.
  2. vG -

    vG - New Member

    Joined:
    Oct 8, 2017
    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Very good :)
     
  3. Ice Mirow

    Ice Mirow New Member

    Joined:
    Dec 15, 2015
    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    hiho slawk,


    placing only to buy coins, gives this error, how can it be solved?

    Screenshot
     
  4. vG -

    vG - New Member

    Joined:
    Oct 8, 2017
    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
  5. Ice Mirow

    Ice Mirow New Member

    Joined:
    Dec 15, 2015
    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
  6. slawkens

    slawkens Developer Premium User Support Team

    Joined:
    Aug 27, 2007
    Messages:
    2,802
    Likes Received:
    354
    Best Answers:
    51
  7. Ice Mirow

    Ice Mirow New Member

    Joined:
    Dec 15, 2015
    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
  8. slawkens

    slawkens Developer Premium User Support Team

    Joined:
    Aug 27, 2007
    Messages:
    2,802
    Likes Received:
    354
    Best Answers:
    51
    Check plugins/pagseguro/config cause it most likely has been overwritten when you installed plugin again. Make sure you have correct email and tokens there.
     
  9. Ice Mirow

    Ice Mirow New Member

    Joined:
    Dec 15, 2015
    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0


    now it worked but I found some bugs ... my friend made a donation for me to test the pagseguro, I received the email from them confirming, but no coin was credited to him and the database has not set neither the pagseguro nor the pagseguro_transactions. The return page did not work either .. how can I solve?
     
  10. vG -

    vG - New Member

    Joined:
    Oct 8, 2017
    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Did you put the return url on the pagseguro?
     
  11. slawkens

    slawkens Developer Premium User Support Team

    Joined:
    Aug 27, 2007
    Messages:
    2,802
    Likes Received:
    354
    Best Answers:
    51
    ok so I found the issue.

    Please try this:
     

    Attached Files:

  12. Ice Mirow

    Ice Mirow New Member

    Joined:
    Dec 15, 2015
    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    have this on myaac? o.0
     
  13. Ice Mirow

    Ice Mirow New Member

    Joined:
    Dec 15, 2015
    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
  14. Ice Mirow

    Ice Mirow New Member

    Joined:
    Dec 15, 2015
    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
  15. vG -

    vG - New Member

    Joined:
    Oct 8, 2017
    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    That's right @Ice Mirow , put the return url of the site there will work perfectly
     
  16. Ice Mirow

    Ice Mirow New Member

    Joined:
    Dec 15, 2015
    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    @vG -

    But no have "page return" in myaac...no problem?
     
  17. slawkens

    slawkens Developer Premium User Support Team

    Joined:
    Aug 27, 2007
    Messages:
    2,802
    Likes Received:
    354
    Best Answers:
    51
    Return URL is: your-domain.com
     
  18. vG -

    vG - New Member

    Joined:
    Oct 8, 2017
    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Last edited by a moderator: Jan 11, 2018
    Ice Mirow likes this.
  19. grafit

    grafit Member

    Joined:
    Sep 11, 2008
    Messages:
    69
    Likes Received:
    2
    Best Answers:
    0
    Nice work dude

    It will help :)
     
  20. Ice Mirow

    Ice Mirow New Member

    Joined:
    Dec 15, 2015
    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    When i use this steps /\, he cause bug at my google chrome, and dont set coins to account, at the same moment, this set "pagseguro_transactions" but not happen nothing.

    screenshots:

    Screenshot - pagseguro
    Screenshot - pagseguro
    Screenshot - mysql transaction
    Screenshot - mysql acc

    @slawkens
     
    Last edited by a moderator: Jan 11, 2018

Share This Page

Loading...