File tree Expand file tree Collapse file tree 1 file changed +15
-20
lines changed Expand file tree Collapse file tree 1 file changed +15
-20
lines changed Original file line number Diff line number Diff line change 1313          {{ model.order.event.locationName }} 
1414        </div >
1515      </div >
16-       {{ #if  isPaypal }} 
17-         <div  class =' paypal-button' 
18-           {{ paypal-button  data =model.order }} 
19-         </div >
20-       {{ /if }} 
21-       {{ #if  isOmise }} 
22-         <div >
23-           <form  class =" checkout-form" name =" checkoutForm" method =' POST' action ={{ omiseFormAction }} >
24-             <script  type =" text/javascript" src =" https://cdn.omise.co/omise.js"  
25-                     data-key =" {{ publicKeyOmise }} "  
26-                     data-amount =" {{ paymentAmount }} "  
27-                     data-currency =" {{ model.order.event.paymentCurrency }} "  
28-                     data-default-payment-method =" credit_card"  
29-             </script > 
30-           </form >
31-         </div >
32-       {{ /if }} 
33-       {{ #if  isAliPay }} 
34-         <button  class =" ui button primary" {{ action  alipayCheckout model.order.identifier }} >{{ t  ' Pay with AliPay' }} </button >          
35-       {{ /if }} 
3616    </div >
3717    <div  class =" row" 
3818      <div  class =" nine wide column" 
6949            {{ paypal-button  data =model.order }} 
7050          </div >
7151        {{ /if }} 
52+         {{ #if  isOmise }} 
53+           <div >
54+             <form  class =" checkout-form" name =" checkoutForm" method =' POST' action ={{ omiseFormAction }} >
55+               <script  type =" text/javascript" src =" https://cdn.omise.co/omise.js"  
56+                       data-key =" {{ publicKeyOmise }} "  
57+                       data-amount =" {{ paymentAmount }} "  
58+                       data-currency =" {{ model.order.event.paymentCurrency }} "  
59+                       data-default-payment-method =" credit_card"  
60+               </script > 
61+             </form >
62+           </div >
63+         {{ /if }} 
64+         {{ #if  isAliPay }} 
65+           <button  class =" ui button primary" {{ action  alipayCheckout model.order.identifier }} >{{ t  ' Pay with AliPay' }} </button >          
66+         {{ /if }} 
7267      </div >
7368    </div >
7469
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments