public/wordpress/wp-content/plugins/wp-courseware/includes/gateways/stripe/stripe-api.php
/**
	 * Internal Stripe Api: Create Stripe Charge.
	 *
	 * @since 4.3.0
	 *
	 * @param array $data The stripe charge data.
	 *
	 * @return Charge|object The stripe charge object or error object on failure.
	 */
Internal Stripe Api: Create Stripe Charge.

@param array $data The stripe charge data.

@return Charge|object The stripe charge object or error object on failure.
Internal Stripe Api : Create Stripe Charge . @param array $data The stripe charge data . @return Charge|object The stripe charge object or error object on failure .
protected function api_create_charge( $data = array() ) {
		if ( empty( $data ) ) {
			throw new Stripe_Exception( 'stripe-api-create-charge-data-empty', esc_html__( 'The data needed to create the stripe chare was empty. Please try again.', 'wp-courseware' ) );
		}
		return Charge::create( $data );
	}
protected function api_create_charge ( $ data = array ( ) ) { if ( empty ( $ data ) ) { throw new Stripe_Exception ( 'stripe-api-create-charge-data-empty' , esc_html__ ( 'The data needed to create the stripe chare was empty. Please try again.' , 'wp-courseware' ) ) ; } return Charge :: create ( $ data ) ; }
Internal Stripe Api: Create Stripe Charge.
Internal Stripe Api : Create Stripe Charge .