Function Hook_payment_gateway_paypal->make_cart_transaction_button

Definitions

sources/hooks/systems/payment_gateway/paypal.php

  • Make a transaction (payment) button for multiple shopping cart items.This is for IPN-style transactions (as opposed to local transactions).Optional method, provides more detail than make_transaction_button.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$trans_expecting_id ID_TEXT required parameter N/A N/A Our internal temporary transaction ID
$items array required parameter N/A N/A Items array
$shipping_cost float required parameter N/A N/A Shipping cost
$currency ID_TEXT required parameter N/A N/A Currency symbol
$order_id AUTO_LINK required parameter N/A N/A Order ID

Return

  • The button
  • Type: Tempcode
  • Set: N/A
  • Range: N/A