[API] ActiveMerchant の PaypalExpressCheckout での決済後のtokenパラメータの一覧


Ruby on Railsで、PayPal API を扱える ActiveMerchant の PaypalExpressCheckout での決済後のtokenパラメータの一覧をメモ。

#<ActiveMerchant::Billing::PaypalExpressResponse:0x000000046d3658 @params={
"timestamp"=>"2011-11-27T08:55:13Z",
"ack"=>"Success",
"correlation_id"=>"5df56fe7b2c0f",
"version"=>"62.0",
"build"=>"2271164",
"token"=>"EC-9VP17258D85027039",
"payer"=>"buyer_1319355006_per@gmail.com",
"payer_id"=>"PR6LJ4NXR7NDQ",
"payer_status"=>"verified",
"salutation"=>nil,
"first_name"=>"Test",
"middle_name"=>nil,
"last_name"=>"User",
"suffix"=>nil,
"payer_country"=>"US",
"payer_business"=>nil,
"name"=>"Test User",
"street1"=>"1 Main St",
"street2"=>nil,
"city_name"=>"San Jose",
"state_or_province"=>"CA",
"country"=>"US",
"country_name"=>"United States",
"postal_code"=>"95131",
"address_owner"=>"PayPal",
"address_status"=>"Confirmed",
"order_total"=>"1",
"order_total_currency_id"=>"USD",
"shipping_total"=>"0.00",
"shipping_total_currency_id"=>"USD",
"handling_total"=>"0.00",
"handling_total_currency_id"=>"USD",
"tax_total"=>"0.00",
"tax_total_currency_id"=>"USD",
"phone"=>nil,
"address_id"=>nil,
"external_address_id"=>nil,
"insurance_total"=>"0.00",
"insurance_total_currency_id"=>"USD",
"shipping_discount"=>"0.00",
"shipping_discount_currency_id"=>"USD",
"insurance_option_offered"=>"false",
"seller_details"=>nil,
"payment_request_id"=>nil,
"order_url"=>nil,
"soft_descriptor"=>nil,
"checkout_status"=>"PaymentActionNotInitiated",
"Token"=>"EC-9VP17258D85027039",
 
"PayerInfo"=>{
  "Payer"=>"buyer_1319355006_per@gmail.com",
  "PayerID"=>"PR6LJ4NXR7NDQ",
  "PayerStatus"=>"verified",
  "PayerName"=>{
    "Salutation"=>nil,
    "FirstName"=>"Test",
    "MiddleName"=>nil,
    "LastName"=>"User",
    "Suffix"=>nil
  },
  "PayerCountry"=>"US",
  "PayerBusiness"=>nil,
  "Address"=>{
    "Name"=>"Test User",
    "Street1"=>"1 Main St",
    "Street2"=>nil,
    "CityName"=>"San Jose",
    "StateOrProvince"=>"CA",
    "Country"=>"US",
    "CountryName"=>"United States",
    "PostalCode"=>"95131",
    "AddressOwner"=>"PayPal",
    "AddressStatus"=>"Confirmed"
   }
},
 
"PaymentDetails"=>{
  "OrderTotal"=>"1",
  "ShippingTotal"=>"0.00",
  "HandlingTotal"=>"0.00",
  "TaxTotal"=>"0.00",
  "ShipToAddress"=>{
    "Name"=>"Test User",
    "Street1"=>"1 Main St",
    "Street2"=>nil,
    "CityName"=>"San Jose",
    "StateOrProvince"=>"CA",
    "Country"=>"US",
    "CountryName"=>"United States",
    "Phone"=>nil,
    "PostalCode"=>"95131",
    "AddressID"=>nil,
    "AddressOwner"=>"PayPal",
    "ExternalAddressID"=>nil,
    "AddressStatus"=>"Confirmed"
  },
  "InsuranceTotal"=>"0.00",
  "ShippingDiscount"=>"0.00",
  "InsuranceOptionOffered"=>"false",
  "SellerDetails"=>nil,
  "PaymentRequestID"=>nil,
  "OrderURL"=>nil,
  "SoftDescriptor"=>nil
},
 
"CheckoutStatus"=>"PaymentActionNotInitiated"
},
 
@message="Success",
@success=true,
@test=true,
@authorization=nil,
@fraud_review=false,
@avs_result={
  "code"=>nil,
  "message"=>nil,
  "street_match"=>nil,
  "postal_match"=>nil
},
@cvv_result={
  "code"=>nil,
  "message"=>nil
}>
  1. コメントはまだありません。

  1. トラックバックはまだありません。