• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / includes/checkout/functions.php


Lines:

1 to 61 of 61
<?php

/**
 * Checkout Functions
 *
 * @package     EDD
 * @subpackage  Checkout
 * @copyright   Copyright (c) 2015, Pippin Williamson
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       1.0
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;

/* function edd_is_checkout() – Determines if we’re currently on the Checkout page */

/* function edd_can_checkout() – Determines if a user can checkout or not */

/* function edd_get_success_page_uri() – Retrieve the Success page URI */

/* function edd_is_success_page() – Determines if we’re currently on the Success page. */

/* function edd_send_to_success_page() – Send To Success Page */

/* function edd_get_checkout_uri() – Get the URL of the Checkout page */

/* function edd_send_back_to_checkout() – Send back to checkout. */

/* function edd_get_failed_transaction_uri() – Get the URL of the Transaction Failed page */

/* function edd_is_failed_transaction_page() – Determines if we’re currently on the Failed Transaction page. */

/* function edd_listen_for_failed_payments() – Mark payments as Failed when returning to the Failed Transaction page */
add_action( 'template_redirect', 'edd_listen_for_failed_payments' );

/* function edd_field_is_required() – Check if a field is required */

/* function edd_get_banned_emails() – Retrieve an array of banned_emails */

/* function edd_is_email_banned() – Determines if an email is banned */

/* function edd_is_ssl_enforced() – Determines if secure checkout pages are enforced */

/* function edd_enforced_ssl_redirect_handler() – Handle redirections for SSL enforced checkouts */
add_action( 'template_redirect', 'edd_enforced_ssl_redirect_handler' );

/* function edd_enforced_ssl_asset_handler() – Handle rewriting asset URLs for SSL enforced checkouts */
add_action( 'template_redirect', 'edd_enforced_ssl_asset_handler' );

/* function edd_enforced_ssl_asset_filter() – Filter filters and convert http to https */

/* function edd_validate_card_number_format() – Given a number and algorithem, determine if we have a valid credit card format */

/* function edd_validate_card_number_format_luhn() – Validate credit card number based on the luhn algorithm */

/* function edd_detect_cc_type() – Detect credit card type based on the number and return an
array of data to validate the credit card number */

/* function edd_purchase_form_validate_cc_exp_date() – Validate credit card expiration date */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: includes/checkout/functions.php
      Plugin ref: Easy Digital Downloads
      Version: 2.9.23
      Deprecated?: No
      API Letters: C,F,I,P

      Published: 26th November 2019 | Last updated: 26th November 2019

      Primary Sidebar

      Information

      File name: includes/checkout/functions.php
      Plugin ref: Easy Digital Downloads
      Version: 2.9.23
      Deprecated?: No
      API Letters: C,F,I,P

      includes/checkout

      Footer

      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      WordPress 5.6
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  edd.wp-a2z.org
      © Copyright Easy Digital Downloads a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites