rcp_gateway_{gateway ID}

This hook fires when registration is submitted and is used to send all registration data to the selected payment gateway.

Parameters:

  • $subscription_data - Array of user and subscription data, including:
    • 'user_email'
    • 'user_id'
    • 'user_name'
    • 'currency'
    • 'price'
    • 'fee'
    • 'discount'
    • 'discount_code'
    • 'length'
    • 'length_unit'
    • 'key'
    • 'subscription_id'
    • 'subscription_name'
    • 'auto_renew'
    • 'return_url'