File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 33
44$ ecommercenew  \Sipay \Ecommerce (realpath (__DIR__ ."/../etc/config.ini " ));
55
6+ print ("Autorización  \n" );
7+ 
68$ amountnew  \Sipay \Amount (200 , 'EUR ' );
79
8- $ cardnew  \Sipay \Paymethods \Card ('6712009000000205 ' , 2018 , 12 );
10+ $ cardnew  \Sipay \Paymethods \Card ('4242424242424242 ' , 2018 , 12 );
911
1012$ optionsarray (
1113  'order '  => 'order-test ' ,
2022}else {
2123    print ("Error:  " .$ authdescription ."\n" );
2224}
25+ print ("Autorización tokenizada  \n" );
2326
24- $ stored_cardnew  \Sipay \Paymethods \StoredCard ('new-token ' );
27+ $ stored_cardnew  \Sipay \Paymethods \StoredCard ('ABC123 ' );
2528
2629$ auth2$ ecommerceauthorization ($ stored_card$ amount$ options
2730
3134    print ("Error:  " .$ auth2description ."\n" );
3235}
3336
37+ print ("Autorización con FPAY  \n" );
3438$ fast_paynew  \Sipay \Paymethods \FastPay ('0f266784e7ba4e438040fdd1dbbfcd73 ' );
3539
3640$ auth3$ ecommerceauthorization ($ fast_pay$ amount$ options
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments