Easy Digital Downloads
  • Package
  • Class
  • Tree

Packages

  • EDD
    • Admin
      • Actions
      • Add-ons
      • Dashboard
      • Discounts
      • Downloads
      • Export
      • Notices
      • Pages
      • Payments
      • Reports
      • Settings
      • System
      • Upgrades
      • Upload
      • Welcome
    • Cart
    • Checkout
    • Classes
      • API
      • Fees
      • HTML
      • Roles
      • Session
    • Emails
    • Functions
      • AJAX
      • Compatibility
      • Errors
      • Formatting
      • Install
      • Login
      • Taxes
      • Templates
    • Gateways
    • Logging
    • Payments
    • Shortcodes
    • Widgets

Functions

  • edd_agree_to_terms_js
  • edd_can_checkout
  • edd_checkout_button_next
  • edd_checkout_button_purchase
  • edd_checkout_final_total
  • edd_checkout_form
  • edd_checkout_hidden_fields
  • edd_checkout_submit
  • edd_default_cc_address_fields
  • edd_discount_field
  • edd_get_cc_form
  • edd_get_login_fields
  • edd_get_register_fields
  • edd_payment_mode_select
  • edd_show_local_tax_opt_in
  • edd_show_payment_icons
  • edd_show_purchase_form
  • edd_terms_agreement
  • edd_user_info_fields

Package EDD\Checkout

Functions summary

edd_agree_to_terms_js Outputs the JavaScript code for the Agree to Terms section to toggle the T&Cs text
edd_can_checkout Determines if a user can checkout or not
edd_checkout_button_next Renders the Next button on the Checkout
edd_checkout_button_purchase Renders the Purchase button on the Checkout
edd_checkout_final_total Shows the final purchase total at the bottom of the checkout page
edd_checkout_form Get Checkout Form
edd_checkout_hidden_fields Renders the hidden Checkout fields
edd_checkout_submit Renders the Checkout Submit section
edd_default_cc_address_fields Outputs the default credit card address fields
edd_discount_field Renders the Discount Code field which allows users to enter a discount code. This field is only displayed if there are any active discounts on the site else it's not displayed.
edd_get_cc_form Renders the credit card info form.
edd_get_login_fields Gets the login fields for the login form on the checkout. This function hooks on the edd_purchase_form_login_fields to display the login form if a user already had an account.
edd_get_register_fields Renders the user registration fields. If the user is logged in, a login form is displayed other a registration form is provided for the user to create an account.
edd_payment_mode_select Renders the payment mode form by getting all the enabled payment gateways and outputting them as radio buttons for the user to choose the payment gateway. If a default payment gateway has been chosen from the EDD Settings, it will be automatically selected.
edd_show_local_tax_opt_in Shows the tax opt-in checkbox
edd_show_payment_icons Show Payment Icons by getting all the accepted icons from the EDD Settings then ouputting the icons.
edd_show_purchase_form Renders the Purchase Form, hooks are provided to add to the purchase form. The default Purchase Form rendered deisplays a list of the enabled payment gateways, a user registration form (if enable) and a credit card info form if credit cards are enabled
edd_terms_agreement Renders the Checkout Agree to Terms, this displays a checkbox for users to agree the T&Cs set in the EDD Settings. This is only displayed if T&Cs are set in the EDD Settigs.
edd_user_info_fields Shows the User Info fields in the Personal Info box, more fields can be added via the hooks provided.
Easy Digital Downloads API documentation generated by ApiGen 2.8.0