2013-07-05 50 views
0

當用戶芬蘭語付款時,我有一個日誌。 我需要更改app_id,但我無法找到它。如何更改PayPal xcode api的app_id

這是我的日誌

Here is your proof of payment: 

{ 
    client =  { 
     environment = mock; 
     "paypal_sdk_version" = "1.0.5"; 
     platform = iOS; 
     "product_name" = "PayPal iOS SDK"; 
    }; 
    payment =  { 
     amount = "1.00"; 
     "currency_code" = USD; 
     "short_description" = "Hipster t-shirt"; 
    }; 
    "proof_of_payment" =  { 
     "adaptive_payment" =   { 
      "app_id" = "APP-1234567890"; 
      "pay_key" = "AP-70M68096ML426802W"; 
      "payment_exec_status" = COMPLETED; 
      timestamp = "2013-07-05T02:20:57Z"; 
     }; 
    }; 
} 

Send this to your server for confirmation and fulfillment. 

回答

3

@Lmstart, 「APP-1234567890」 是當你在它的 「模擬」 的環境,PayPalEnvironmentNoNetwork運行iOS版的PayPal SDK中提供的應用ID。如果您切換到PayPalEnvironmentSandboxPayPalEnvironmentProduction,您應該看到與您的應用對應的應用ID。

+0

是否對同一用戶完成的每筆交易進行付費ID更改? – vivek

+0

@vivek您是在詢問上述支付證明記錄示例中顯示的「pay_key」,或者您在創建「PayPalPaymentViewController」時必須提供的'payerId',或其他? –

+0

我在詢問pay_key – vivek