Changeset 1494306
- Timestamp:
- 09/12/2016 05:11:14 AM (10 years ago)
- Location:
- gnucommerce/trunk/shop/inicis
- Files:
-
- 2 edited
-
pay_approval.php (modified) (1 diff)
-
pay_return.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gnucommerce/trunk/shop/inicis/pay_approval.php
r1490649 r1494306 114 114 </div> 115 115 116 <?php 117 GC_VAR()->add_inline_scripts( 118 " 116 <script type="text/javascript"> 119 117 setTimeout( function() { 120 118 document.forderform.submit(); 121 119 }, 300); 122 " 123 ); 120 </script> 121 <?php 122 exit; 124 123 ?> -
gnucommerce/trunk/shop/inicis/pay_return.php
r1444712 r1494306 20 20 21 21 if(isset($data['pp_id']) && $data['pp_id']) { 22 /*23 $order_action_url = G5_HTTPS_MSHOP_URL.'/personalpayformupdate.php';24 $page_return_url = G5_SHOP_URL.'/personalpayform.php?pp_id='.$data['pp_id'];25 */26 22 $order_action_url = gc_get_page_url('personalpay_update'); 27 23 $page_return_url = add_query_arg( array('pp_id'=>$data['pp_id']), gc_get_page_url('personalpay')); 28 24 } else { 29 /* 30 $order_action_url = G5_HTTPS_MSHOP_URL.'/orderformupdate.php'; 31 $page_return_url = G5_SHOP_URL.'/orderform.php'; 32 */ 33 34 $order_action_url = gc_get_page_url('checkout_update'); 25 $order_action_url = get_permalink(get_the_ID()); 35 26 $page_return_url = gc_get_page_url('checkout'); 36 27 37 if( $_SESSION['ss_direct'])28 if(gc_get_session('ss_direct')) 38 29 $page_return_url = add_query_arg( array('sw_direct'=>1), $page_return_url); 39 30 } … … 62 53 $exclude = array('res_cd', 'P_HASH', 'P_TYPE', 'P_AUTH_DT', 'P_VACT_BANK', 'gc_nonce_field', '_wp_http_referer'); 63 54 64 //echo '<form name="forderform" method="post" action="'.$order_action_url.'" autocomplete="off">'.PHP_EOL;65 echo '<form name="forderform" method="post" action="'.get_permalink(get_the_ID()).'" autocomplete="off">'.PHP_EOL;55 echo '<form name="forderform" method="post" action="'.$order_action_url.'" autocomplete="off">'.PHP_EOL; 56 //echo '<form name="forderform" method="post" action="'.get_permalink(get_the_ID()).'" autocomplete="off">'.PHP_EOL; 66 57 67 58 echo gc_make_order_field($data, $exclude);
Note: See TracChangeset
for help on using the changeset viewer.