Skip to Content Skip to Menu

[SOLVED] How to Create a CB Auto Actions Redirect using a gateway_account condition

  • xborg
  • xborg
  • OFFLINE
  • Posts: 19
  • Thanks: 1
  • Karma: 0
7 years 9 months ago - 7 years 9 months ago #291041 by xborg
Team,

I need to redirect to an external page after a user choose a specific gateway.

I've have tried

Type: Redirect
Global
Triggers: onCbSubsAfterPaymentBasket
User: Automatic
Access: Everybody
Conditions
[gateway_account] Equal To 9
Action
URL : externalcompany.com

I have another similar redirect action which works but the only difference is the condition field is in the comprofiler table. With that being
said is the condition field only pointing to the comprofiler table or is there away to define the condition field to
point to any table? I've tried [cbsubs_payment_baskets.gateway_account]

Cheers

Ray
Last edit: 7 years 9 months ago by krileon. Reason: Added [SOLVED] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
7 years 9 months ago #291088 by krileon
The variables for that trigger are: $paymentBasket, &$result, &$txtTerms

So you probably need to use [var1_gateway_account].


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • xborg
  • xborg
  • OFFLINE
  • Posts: 19
  • Thanks: 1
  • Karma: 0
7 years 9 months ago #291098 by xborg

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum