Big Spender Posted September 11, 2014 Share Posted September 11, 2014 Just a quick question on content.gateway.php: - {if isset($TRANSFER)} {if $TRANSFER.mode == 'iframe'} <iframe src="{$IFRAME_SRC}" frameborder="0" scrolling="auto" width="100%" height="500" /> {$IFRAME_FORM} {else} <form id="gateway-transfer" action="{$TRANSFER.action}" method="{$TRANSFER.method}" target="{$TRANSFER.target}"> {foreach from=$FORM_VARS key=name item=value}<input type="hidden" name="{$name}" value="{$value}" /> {/foreach} {if $TRANSFER.mode == 'automatic'} <div style="text-align: center;"> <p>{$LANG.gateway.transferring}</p> <p><img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/loading.gif" alt="{$LANG.gateway.transfer_progress}" class="autosubmit" /></p> </div> {elseif $TRANSFER.mode == 'manual'} <h2>{$LANG.gateway.amount_due}</h2> <p>{$LANG_AMOUNT_DUE}</p> {$FORM_TEMPLATE} {/if} {if !$DISPLAY_3DS} <div align="center"><input type="submit" value="{$BTN_PROCEED}" class="button_submit" /></div> {/if} {foreach from=$AFFILIATES item=affiliate} {$affiliate} {/foreach} {/if} </form> {/if} In what circumstance would $TRANSFER.mode == 'manual' be used? The proceed button shows if not 3d secure, but if it is 3d secure enabled then does that appear in this area or is this a redirect? If I had some affiliate networks setup - what would {$affiliate} spit out here? Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 13, 2014 Share Posted September 13, 2014 The only question I can answer at this time is: "In what circumstance would $TRANSFER.mode == 'manual' be used?" Each gateway has a transfer() function. This function tells CubeCart how the gateway is to show itself to the customer. Let's look at Authorize (Authorize.net). Authorize.net has two modes of collecting credit card data: SIM and AIM. If the admin chooses to use Authorize.net's SIM method, the customer is automatically bounced to Authorize.net's credit card entry screen. If the AIM method, CubeCart will show a form for the manual data collection and send that data to Authorize.net (requires you to be PCI-DSS compliant). Quote Link to comment Share on other sites More sharing options...
Big Spender Posted September 13, 2014 Author Share Posted September 13, 2014 Thanks for the info, do you know where that form is in the files? Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 13, 2014 Share Posted September 13, 2014 "CubeCart will show a form for the manual data collection." If a gateway uses a manual (internal) method of collecting credit card data and shows a form for it, that form will typically be found at /modules/gateway/NAME_OF_GATEWAY/skin/form.tpl. Quote Link to comment Share on other sites More sharing options...
Big Spender Posted September 13, 2014 Author Share Posted September 13, 2014 Ok great, I'm just putting a skin together and want to ensure every possible option selected in the admin is covered by the theme styling. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.