ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
ilPurchasePaypal ($user_obj) | |
openSocket () | |
checkData ($fp) | |
__checkTransactionId ($a_id) | |
__checkItems ($a_array) | |
__saveTransaction ($keyarray) | |
__sendBill ($bookings, $a_array) | |
__initShoppingCartObject () | |
__getCountries () | |
shows select box f�r countries | |
__getCountryCode ($value="") | |
__getCountryName ($value="") | |
Public Member Functions inherited from ilPurchaseBaseGUI | |
ilPurchaseBaseGUI ($user_obj, $pay_method) | |
cancel () | |
showPersonalData () | |
getPersonalData () | |
showBillConfirm () | |
executeCommand () | |
execute command | |
__addBookings ($external_data=null) | |
__sendBill ($bookings) | |
__emptyShoppingCart () | |
__clearSession () | |
__loadTemplate () | |
__buildStatusline () | |
__buildLocator () | |
__buildStylesheet () | |
__getShoppingCart () | |
__getTotalAmount () | |
getBill () | |
__showShoppingCart () | |
__showItemsTable ($a_result_set) |
Data Fields | |
$psc_obj = null | |
$user_obj = null | |
$pay_method = null | |
$currency = null | |
$db = null | |
$paypalConfig | |
Data Fields inherited from ilPurchaseBaseGUI | |
$ctrl | |
$tpl | |
$psc_obj = null | |
$user_obj = null | |
$coupon_obj = null | |
$error | |
$pmethod_obj = null |
Private Attributes | |
$totalVat = 0 |
Definition at line 24 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::__checkItems | ( | $a_array | ) |
Definition at line 220 of file class.ilPurchasePaypal.php.
References $_SESSION, and $total.
Referenced by checkData().
ilPurchasePaypal::__checkTransactionId | ( | $a_id | ) |
Definition at line 210 of file class.ilPurchasePaypal.php.
Referenced by checkData().
ilPurchasePaypal::__getCountries | ( | ) |
shows select box f�r countries
Reimplemented from ilPurchaseBaseGUI.
Definition at line 715 of file class.ilPurchasePaypal.php.
References $lng.
Referenced by __getCountryCode(), and __getCountryName().
ilPurchasePaypal::__getCountryCode | ( | $value = "" | ) |
Reimplemented from ilPurchaseBaseGUI.
Definition at line 748 of file class.ilPurchasePaypal.php.
References __getCountries().
ilPurchasePaypal::__getCountryName | ( | $value = "" | ) |
Reimplemented from ilPurchaseBaseGUI.
Definition at line 761 of file class.ilPurchasePaypal.php.
References __getCountries().
ilPurchasePaypal::__initShoppingCartObject | ( | ) |
Definition at line 710 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::__saveTransaction | ( | $keyarray | ) |
content of $keyarray
'mc_gross' => string '2.00' (length=4) 'protection_eligibility' => string 'Ineligible' (length=10) 'address_status' => string 'unconfirmed' (length=11) 'item_number1' => string '' (length=0) 'payer_id' => string 'TZSNWLFE2DF58' (length=13) 'tax' => string '0.00' (length=4) 'address_street' => string 'ESpachstr. 1' (length=12) 'payment_date' => string '00:48:45 Feb 22, 2010 PST' (length=25) 'payment_status' => string 'Pending' (length=7) 'charset' => string 'windows-1252' (length=12) 'address_zip' => string '79111' (length=5) 'mc_shipping' => string '0.00' (length=4) 'mc_handling' => string '0.00' (length=4) 'first_name' => string 'Test' (length=4) 'mc_fee' => string '0.39' (length=4) 'address_country_code' => string 'DE' (length=2) 'address_name' => string 'Test User' (length=9) 'custom' => string '13' (length=2) 'payer_status' => string 'verified' (length=8) 'business' => string '12402' (length=32) 'address_country' => string 'Germany' (length=7) 'num_cart_items' => string '1' (length=1) 'mc_handling1' => string '0.00' (length=4) 'address_city' => string 'Freiburg' (length=8) 'payer_email' => string ' 1391 @data bay. de12402' (length=32) 'mc_shipping1' => string '0.00' (length=4) 'txn_id' => string '3UB51507EB277381H' (length=17) 'payment_type' => string 'instant' (length=7) 'last_name' => string 'User' (length=4) 'address_state' => string 'Empty' (length=5) 'item_name1' => string '[216]: test.jpg' (length=17) 'receiver_email' => string ' 1404 3@dat abay .de24021' (length=32) 'payment_fee' => string '' (length=0) 'quantity1' => string '1' (length=1) 'receiver_id' => string 'TE2KBY9PBMN2L' (length=13) 'pending_reason' => string 'paymentreview' (length=13) 'txn_type' => string 'cart' (length=4) 'mc_gross_1' => string '2.00' (length=4) 'mc_currency' => string 'EUR' (length=3) 'residence_country' => string 'DE' (length=2) 'transaction_subject' => string '13' (length=2) 'payment_gross' => string '' (length=0) '' => string '' (length=0) 3918 @data bay. de
Definition at line 312 of file class.ilPurchasePaypal.php.
References $_SESSION, $total, ilPayMethods\_EnabledSaveUserAddress(), ilPaymentObject\_getObjectData(), ilRepositoryExplorer\buildFrameTarget(), and ilRepositoryExplorer\buildLinkTarget().
Referenced by checkData().
ilPurchasePaypal::__sendBill | ( | $bookings, | |
$a_array | |||
) |
Definition at line 525 of file class.ilPurchasePaypal.php.
References $_SESSION, ilPurchaseBaseGUI\$tpl, ilShopUtils\_formatFloat(), ilShopUtils\_formatVAT(), ilUtil\html2pdf(), ilUtil\makeDir(), and ilMimeMail\Subject().
Referenced by checkData().
ilPurchasePaypal::checkData | ( | $fp | ) |
Definition at line 57 of file class.ilPurchasePaypal.php.
References $_REQUEST, $_SESSION, $auth_token, $result, __checkItems(), __checkTransactionId(), __saveTransaction(), __sendBill(), ilShopUtils\_createRandomUserAccount(), ilCourseParticipants\_getInstanceByObjId(), ERROR_FAIL, ERROR_NOT_COMPLETED, ERROR_PREV_TRANS_ID, ERROR_WRONG_CUSTOMER, ERROR_WRONG_ITEMS, ERROR_WRONG_VENDOR, IL_CRS_MEMBER, and SUCCESS.
ilPurchasePaypal::ilPurchasePaypal | ( | $user_obj | ) |
Definition at line 37 of file class.ilPurchasePaypal.php.
References $ilDB, $lng, $user_obj, ilPayMethods\_getIdByTitle(), and ilPaypalSettings\getInstance().
ilPurchasePaypal::openSocket | ( | ) |
Definition at line 50 of file class.ilPurchasePaypal.php.
References $path.
ilPurchasePaypal::$currency = null |
Definition at line 32 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::$db = null |
Definition at line 33 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::$pay_method = null |
Definition at line 31 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::$paypalConfig |
Definition at line 34 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::$psc_obj = null |
Definition at line 29 of file class.ilPurchasePaypal.php.
|
private |
Definition at line 35 of file class.ilPurchasePaypal.php.
ilPurchasePaypal::$user_obj = null |
Definition at line 30 of file class.ilPurchasePaypal.php.
Referenced by ilPurchasePaypal().