Billing module and Paypal

Discussion in 'Plugins/Modules/Addons' started by mccharlet, Jun 5, 2014.

  1. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,

    It's possible to add the paypal link to the invoice or the email ?

    Best regards
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, thats possible. The placeholder is: {INVOICE_PAY_LINK}
     
  3. mccharlet

    mccharlet Member HowtoForge Supporter

    How to place this in the Invoice ?

    For the email is ok

    Best regards and tanks for your support
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The payment link is available in the email only. the invoice pdf is a fiscal document and should not contain temporary internet links.
     
  5. mccharlet

    mccharlet Member HowtoForge Supporter

    Ok.

    The language of the paypal web page is false. My client have a frencheconfiguration, the invoice is in french, but the web page is in english

    And the City isn't display for the customer and the seller

    Bests regards
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The billing module is available in english and german language. But you can use any other language by using the language editor that is built into ISPConfig. The language of the paypal page corresponds to the language that you have set in ispconfig globally under /usr/local/ispconfig/interface/lib/config.inc.php

    I will send you an updated template by email.
     
  7. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,

    It's ok with the new template ;)

    But for the language i have this configuration $conf['language'] = 'fr';

    But it's dispay in english :confused:

    Best regards
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you translate the phrases of the payment page with the ispconfig language editor to french? Like I mentioned above, the billing module comes just with a english and german translation, all other languages get displayed in english unless the phrases get trabslated with the language editor.
     
  9. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,


    No, the French language is by default.

    If i change the language for the admin account in French, the pay page is in French

    Best regards
     
  10. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,

    I understand, it's my active session to define the language

    if(isset($_SESSION['s']['language'])) {
    $language = $_SESSION['s']['language'];
    } else {
    $language = $client['language'];
    }


    Best regards
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    If you are logged in, then yes. But if the client views a invoice and not you as admin while you are logged in, then the client language is used.
     
  12. mccharlet

    mccharlet Member HowtoForge Supporter

  13. till

    till Super Moderator Staff Member ISPConfig Developer

    The link URL is configurable. You can find the setting under Billing > Global settings. enter the correct URL there, it should looklike this:

    http://billing/payments/pay.php?id=

    and end with ....?id=
     
  14. mccharlet

    mccharlet Member HowtoForge Supporter

    Not with my version
     

    Attached Files:

  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Please go to the tab "Payment gateways".
     
  16. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,

    It's "Link to payment page (otional)" ?

    Why it's optional ?

    Best regards
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    It is optional because ispconfig tries to compute the URL automatically and normally there is no URL needed, but as this failed in your case, you can enter the URL there. This field is also used when you have a external payment page.
     
  18. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,

    Very strange, before it's ok without this field

    Bests regards
     

Share This Page