File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ const allowedPaymentMethods = new Array<google.payments.api.PaymentMethodSpecifi
2626    } , 
2727} ) ; 
2828
29+ const  checkoutOptions  =  new  Array < google . payments . api . CheckoutOption > ( 
30+     "DEFAULT" , 
31+     "COMPLETE_IMMEDIATE_PURCHASE" , 
32+     "CONTINUE_TO_REVIEW" , 
33+ ) ; 
34+ 
2935// @ts -expect-error 
3036allowedPaymentMethods [ 0 ] . tokenizationSpecification  =  { 
3137    type : "DIRECT" , 
Original file line number Diff line number Diff line change @@ -1623,8 +1623,13 @@ declare namespace google.payments.api {
16231623     *   [[TransactionInfo.totalPriceStatus|`TransactionInfo.totalPriceStatus`]] 
16241624     *   is set to [[TotalPriceStatus|`FINAL`]]. Otherwise, 
16251625     *   a payment data request will fail. 
1626+      * 
1627+      * - `CONTINUE_TO_REVIEW`: 
1628+      *   Use the 'Continue to Review Order' button for a buy flow in the 
1629+      *   payments sheet. Once loadPaymentData completes, the integrator should 
1630+      *   show an order confirmation screen to finalize the purchase. 
16261631     */ 
1627-     type  CheckoutOption  =  "DEFAULT"  |  "COMPLETE_IMMEDIATE_PURCHASE" ; 
1632+     type  CheckoutOption  =  "DEFAULT"  |  "COMPLETE_IMMEDIATE_PURCHASE"   |   "CONTINUE_TO_REVIEW" ; 
16281633
16291634    /** 
16301635     * Enum string of a display item. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments