ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
ilPurchasePaypal (&$user_obj) | |
openSocket () | |
checkData ($fp) | |
__checkTransactionId ($a_id) | |
__checkItems ($a_array) | |
__saveTransaction ($a_id) | |
__sendBill ($bookings, $a_array) | |
__initShoppingCartObject () | |
__getCountries () | |
__getCountryCode ($value="") | |
__getCountryName ($value="") |
Data Fields | |
$psc_obj = null | |
$user_obj = null | |
$db = null | |
$paypalConfig |
Private Attributes | |
$totalVat = 0 |
Definition at line 46 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::__checkItems | ( | $a_array | ) |
Definition at line 193 of file class.ilPurchasePaypal.php.
References $_SESSION, $key, $total, and PAY_METHOD_PAYPAL.
Referenced by checkData().
ilPurchasePaypal::__checkTransactionId | ( | $a_id | ) |
Definition at line 184 of file class.ilPurchasePaypal.php.
Referenced by checkData().
ilPurchasePaypal::__getCountries | ( | ) |
Definition at line 583 of file class.ilPurchasePaypal.php.
References $lng.
Referenced by __getCountryCode(), and __getCountryName().
ilPurchasePaypal::__getCountryCode | ( | $value = "" | ) |
Definition at line 616 of file class.ilPurchasePaypal.php.
References __getCountries().
ilPurchasePaypal::__getCountryName | ( | $value = "" | ) |
Definition at line 629 of file class.ilPurchasePaypal.php.
References __getCountries().
ilPurchasePaypal::__initShoppingCartObject | ( | ) |
Definition at line 578 of file class.ilPurchasePaypal.php.
Referenced by ilPurchasePaypal().
ilPurchasePaypal::__saveTransaction | ( | $a_id | ) |
Definition at line 274 of file class.ilPurchasePaypal.php.
References $_SESSION, $key, $total, ilPayMethods\_enabled(), ilPaymentObject\_getObjectData(), ilPaymentPrices\_getPriceStringFromAmount(), and PAY_METHOD_PAYPAL.
Referenced by checkData().
ilPurchasePaypal::__sendBill | ( | $bookings, | |
$a_array | |||
) |
Definition at line 416 of file class.ilPurchasePaypal.php.
References $_SESSION, $key, $tpl, ilShopUtils\_formatFloat(), ilShopUtils\_formatVAT(), ilMimeMail\From(), ilUtil\html2pdf(), and ilUtil\makeDir().
Referenced by checkData().
ilPurchasePaypal::checkData | ( | $fp | ) |
Definition at line 89 of file class.ilPurchasePaypal.php.
References $_SESSION, $auth_token, $key, $res, __checkItems(), __checkTransactionId(), __saveTransaction(), __sendBill(), ERROR_FAIL, ERROR_NOT_COMPLETED, ERROR_PREV_TRANS_ID, ERROR_WRONG_CUSTOMER, ERROR_WRONG_ITEMS, ERROR_WRONG_VENDOR, and SUCCESS.
ilPurchasePaypal::ilPurchasePaypal | ( | & | $user_obj | ) |
Definition at line 59 of file class.ilPurchasePaypal.php.
References $_SESSION, $ilDB, $lng, $user_obj, __initShoppingCartObject(), and ilPaypalSettings\getInstance().
ilPurchasePaypal::openSocket | ( | ) |
Definition at line 82 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::$db = null |
Definition at line 53 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::$paypalConfig |
Definition at line 55 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::$psc_obj = null |
Definition at line 51 of file class.ilPurchasePaypal.php.
|
private |
Definition at line 57 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::$user_obj = null |
Definition at line 52 of file class.ilPurchasePaypal.php.
Referenced by ilPurchasePaypal().