First perk always selected #9


  • New
  • Other
Open
Assigned to _ForgeUser8424764
  • _ForgeUser6940578 created this issue Apr 13, 2014

    "When I buy a package (with paypal sandbox), It's always the first one's perks in the list (the 5.00$ one) that are selected, even if I pay 50$. I tried with your config.yml example, and the problem remain."

    My files :

    Config.yml

    database:
    //de quoi se connecter à la base
      port: 3306
    settings:
      checkdelay: 30
      checkExpiredDelay: 2
      sandbox: true
      debug: false
      cumulativepackages: true
      enablesignwall: true
      broadcast-message: '&bMerci a &a%player &apour son don !'
      lng: FR
      tracer:
        chemin: Obole.log
        permission: Obole.trace
        param: 15
    packages:
      example:
        price: '5.00'
        expires: never
        commands:
        - promote %player
        - msg %player Thanks for donating %amount!
        expirescommands: &id001
        - demote %player
        onlineCommands: *id001
      '5':
        price: '5.00'
        expires: never
        onlineCommands:
        - msg %player Merci pour votre don ! Nous en ferons bon usage
        - msg Don de 5.
        - give %player emerald 5
      '10':
        price: '10.00'
        expires: never
        commands:
        - null
        onlineCommands:
        - msg %player Merci pour votre don ! Nous en ferons bon usage
        - msg Don de 10.
        - give %player emerald 10
      '15':
        price: '15.00'
        expires: never
        onlineCommands:
        - msg %player Merci pour votre don ! Nous en ferons bon usage
        - msg Don de 15.
        - give %player emerald 15
        expirescommands:
        - demote %player
      '25':
        price: '25.00'
        expires: never
        onlineCommands:
        - msg %player Merci pour votre don ! Nous en ferons bon usage
        - msg Don de 25.
        - give %player emerald 25
      '50':
        price: '50.00'
        expires: never
        onlineCommands:
        - msg %player Merci pour votre don ! Nous en ferons bon usage
        - msg Don de 50.
        - give %player emerald 50
    signwall-format:
    - ''
    - '%player'
    - '%amount'
    - '---'
    

    config.php

    <?php
    
    $DB_Server = "my host"; // MySQL host.
    $DB_Username = "etc"; // MySQL username.
    $DB_Password = "etc"; // MySQL password.
    $DB_DBName = "etc"; // MySQL database name.
    $DBsandbox = true;
    
    $notify_email = "mymail";
    $currency = "EUR";
    
    ?>
    

    The ipn.php file is the same as downloaded.

  • _ForgeUser6940578 added the tags New Other Apr 13, 2014

To post a comment, please login or register a new account.