You are here

function commerce_paypal_ipn_invoice in Commerce PayPal 7.2

Same name and namespace in other branches
  1. 7 commerce_paypal.module \commerce_paypal_ipn_invoice()

Returns a unique invoice number based on the Order ID and timestamp.

5 calls to commerce_paypal_ipn_invoice()
commerce_payflow_link_create_secure_token in modules/payflow/commerce_payflow.module
Requests a Secure Token from Payflow for use in follow-up API requests.
commerce_paypal_ec_capture_form_submit in modules/ec/includes/commerce_paypal_ec.admin.inc
Submit handler: process a prior authorization capture via PayPal EC.
commerce_paypal_ec_do_payment in modules/ec/commerce_paypal_ec.module
Confirm an Express Checkout payment for an order for the specified charge amount with a DoExpressCheckoutPayment API request.
commerce_paypal_ec_set_express_checkout in modules/ec/commerce_paypal_ec.module
Submits a SetExpressCheckout request to PayPal for the given order.
commerce_paypal_wps_order_form in modules/wps/commerce_paypal_wps.module
Builds a Website Payments Standard form from an order object.

File

./commerce_paypal.module, line 275
Implements PayPal payment services for use with Drupal Commerce.

Code

function commerce_paypal_ipn_invoice($order) {
  return $order->order_id . '-' . REQUEST_TIME;
}