/catalog/includes/languages/english/modules/payment/payfast.php

https://github.com/PayFast/mod-oscommerce_2 · PHP · 27 lines · 12 code · 1 blank · 14 comment · 0 complexity · d768c1aefdd09b923bd3857001104704 MD5 · raw file

  1. <?php
  2. /**
  3. * payfast.php
  4. *
  5. * Stores definable information for PayFast payment module
  6. *
  7. * Copyright (c) 2008 PayFast (Pty) Ltd
  8. * You (being anyone who is not PayFast (Pty) Ltd) may download and use this plugin / code in your own website in conjunction with a registered and active PayFast account. If your PayFast account is terminated for any reason, you may not use this plugin / code or part thereof.
  9. * Except as expressly indicated in this licence, you may not use, copy, modify or distribute this plugin / code or part thereof in any way.
  10. *
  11. * @author Jonathan Smit
  12. * @link http://www.payfast.co.za/help/oscommerce
  13. */
  14. // General
  15. define( 'MODULE_PAYMENT_PAYFAST_TEXT_TITLE', 'PayFast');
  16. define( 'MODULE_PAYMENT_PAYFAST_TEXT_PUBLIC_TITLE', 'PayFast');
  17. define( 'MODULE_PAYMENT_PAYFAST_TEXT_DESCRIPTION', '<img src="images/icon_popup.gif" border="0">&nbsp;<a href="https://www.payfast.co.za" target="_blank" style="text-decoration: underline; font-weight: bold;">Visit Payfast Website</a>');
  18. // Errors
  19. define( 'MODULE_PAYMENT_PAYFAST_ERR_PDT_TOKEN_MISSING', 'PDT token not present in URL' );
  20. define( 'MODULE_PAYMENT_PAYFAST_ERR_ORDER_ID_MISSING_URL', 'Order ID not present in URL' );
  21. define( 'MODULE_PAYMENT_PAYFAST_ERR_ORDER_PROCESSED', 'This order has already been processed' );
  22. define( 'MODULE_PAYMENT_PAYFAST_ERR_ORDER_INVALID', 'This order ID is invalid' );
  23. define( 'MODULE_PAYMENT_PAYFAST_ERR_CONNECT_FAILED', 'Failed to connect to PayFast' );
  24. define( 'MODULE_PAYMENT_PAYFAST_ERR_ID_MISMATCH', 'Order ID mismatch' );
  25. define( 'MODULE_PAYMENT_PAYFAST_ERR_PAYMENT_NOT_COMPLETE', 'Payment is not yet COMPLETE' );
  26. ?>