1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Payments Plugin

Discussion in 'Development' started by QuiverlyRivalry, Oct 17, 2017.

  1. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    Hi,
    I saw some screenshots of players being able to pay in-game... I was wondering how’s this is possible. If so does anyone have some sample code. It seems mind blowing paying for stuff in game using your Credit Card. Any sample code
     
    jasonwynn10 and rektpixel like this.
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    i think it's gurun's minet plugin you are looking at
    https://github.com/NiclasOlofsson/MiNET/tree/master/src/MiNET/TestPlugin/SafePay
    it uses API calls afaik
     
    HimbeersaftLP and jasonwynn10 like this.
  3. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
  4. Ad5001

    Ad5001 Silverfish

    Messages:
    16
    GitHub:
    ad5001
    This is using the Stripe API. You could explore the docs and write one yourself.
     
  5. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    I’ll try my best... I am still a noob coder..
     
  6. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    You are the best coder
     
  7. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    DO NOT do this. It is insecure and dangerous. It was intended as a demonstration, NOT an actual thing to use in production.

    I repeat : DO NOT DO IT.
     
  8. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    Oh thanks. I’ll tell my dev to cancel it, just curious is it not secure enough? To do it via mcpe or does pmmp not supplier it?
     
  9. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    It's a really fucking stupid idea. It's like giving your payment details to a dodgy website over an unsecured (non-encrypted) connection and then expecting not to get your money stolen. Since protocol encryption is not implemented, this is a very very bad idea.

    Regardless, this is still a very very bad idea. Are you a trusted certified vendor I can trust with my CC details? No? Then why are you asking for my CC details in a block game?

    You do this, your customers are giving god knows who unprotected access to their payment info. I can't stress how serious this is. DO NOT DO IT.
     
  10. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    Bad enough that you have authentication passwords transmitted in cleartext across an unencrypted connection. Payment details... no. Just no.
     
    HimbeersaftLP and jasonwynn10 like this.
  11. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    Okay thanks I mean I wouldn’t trust keeping my credit card details over an mcpe server but what about coins? Like Mineplex or InPvP you can buy items with coins in the future will pocketmine support this?
     
  12. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    no, it will not. That's a feature exclusive to partner servers.
     
    HimbeersaftLP and jasonwynn10 like this.
  13. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    Okay thanks, for your help.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.