|
ILIAS
eassessment Revision 61809
|
Inheritance diagram for ilPurchasePaypal:
Collaboration diagram for ilPurchasePaypal: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 31 of file class.ilPurchasePaypal.php.
| ilPurchasePaypal::__checkItems | ( | $a_array | ) |
Definition at line 224 of file class.ilPurchasePaypal.php.
References $_SESSION, and $total.
Referenced by checkData().
Here is the caller graph for this function:| ilPurchasePaypal::__checkTransactionId | ( | $a_id | ) |
Definition at line 214 of file class.ilPurchasePaypal.php.
Referenced by checkData().
Here is the caller graph for this function:| ilPurchasePaypal::__getCountries | ( | ) |
shows select box f�r countries
Reimplemented from ilPurchaseBaseGUI.
Definition at line 719 of file class.ilPurchasePaypal.php.
References $lng.
Referenced by __getCountryCode(), and __getCountryName().
Here is the caller graph for this function:| ilPurchasePaypal::__getCountryCode | ( | $value = "" | ) |
Reimplemented from ilPurchaseBaseGUI.
Definition at line 752 of file class.ilPurchasePaypal.php.
References __getCountries().
Here is the call graph for this function:| ilPurchasePaypal::__getCountryName | ( | $value = "" | ) |
Reimplemented from ilPurchaseBaseGUI.
Definition at line 765 of file class.ilPurchasePaypal.php.
References __getCountries().
Here is the call graph for this function:| ilPurchasePaypal::__initShoppingCartObject | ( | ) |
Definition at line 714 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 '124021391@databay.de' (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 '1240214043@databay.de' (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 '240213918@databay.de' (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)
Definition at line 316 of file class.ilPurchasePaypal.php.
References $_SESSION, $total, ilPayMethods\_EnabledSaveUserAddress(), ilPaymentObject\_getObjectData(), ilRepositoryExplorer\buildFrameTarget(), and ilRepositoryExplorer\buildLinkTarget().
Referenced by checkData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPurchasePaypal::__sendBill | ( | $bookings, | |
| $a_array | |||
| ) |
Definition at line 529 of file class.ilPurchasePaypal.php.
References $_SESSION, ilPurchaseBaseGUI\$tpl, ilShopUtils\_formatFloat(), ilShopUtils\_formatVAT(), ilUtil\html2pdf(), ilUtil\makeDir(), and ilMimeMail\Subject().
Referenced by checkData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPurchasePaypal::checkData | ( | $fp | ) |
Definition at line 64 of file class.ilPurchasePaypal.php.
References $_REQUEST, $_SESSION, $auth_token, $res, __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.
Here is the call graph for this function:| ilPurchasePaypal::ilPurchasePaypal | ( | $user_obj | ) |
Definition at line 44 of file class.ilPurchasePaypal.php.
References $ilDB, $lng, $user_obj, ilPayMethods\_getIdByTitle(), and ilPaypalSettings\getInstance().
Here is the call graph for this function:| ilPurchasePaypal::openSocket | ( | ) |
Definition at line 57 of file class.ilPurchasePaypal.php.
References $path.
| ilPurchasePaypal::$currency = null |
Definition at line 39 of file class.ilPurchasePaypal.php.
| ilPurchasePaypal::$db = null |
Definition at line 40 of file class.ilPurchasePaypal.php.
| ilPurchasePaypal::$pay_method = null |
Definition at line 38 of file class.ilPurchasePaypal.php.
| ilPurchasePaypal::$paypalConfig |
Definition at line 41 of file class.ilPurchasePaypal.php.
| ilPurchasePaypal::$psc_obj = null |
Definition at line 36 of file class.ilPurchasePaypal.php.
|
private |
Definition at line 42 of file class.ilPurchasePaypal.php.
| ilPurchasePaypal::$user_obj = null |
Definition at line 37 of file class.ilPurchasePaypal.php.
Referenced by ilPurchasePaypal().