This repository has been archived by the owner on Nov 29, 2019. It is now read-only.
forked from railsdog/spree-paypal-express
-
Notifications
You must be signed in to change notification settings - Fork 138
/
response-example-one
55 lines (49 loc) · 1.92 KB
/
response-example-one
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
example of an info fetch, for reference
PPPPPPPPPPPPP #<ActiveMerchant::Billing::PaypalExpressResponse:0x7f020cb75f60
@fraud_review=false,
@avs_result={"code"=>nil, "postal_match"=>nil, "street_match"=>nil, "message"=>nil},
@params={"country_name"=>"United Kingdom"
"name"=>"Test User"
"city_name"=>"Wolverhampton"
"insurance_option_selected"=>"false"
"insurance_total"=>"0.00"
"shipping_total_currency_id"=>"GBP"
"insurance_option_offered"=>"false"
"payer"=>"paulcc_1247500933_per@gmail.com"
"address_owner"=>"PayPal"
"payer_country"=>"GB"
"timestamp"=>"2009-08-11T08:12:11Z"
"correlation_id"=>"ed7b386bb3c6e"
"country"=>"GB"
"token"=>"EC-32483953BF188421W"
"street1"=>"1 Main Terrace"
"handling_total"=>"0.00"
"shipping_calculation_mode"=>"Callback"
"postal_code"=>"W12 4LQ"
"payer_business"=>nil, "salutation"=>nil, "invoice_id"=>"R884242533"
"street2"=>nil, "external_address_id"=>nil, "tax_total"=>"6.00"
"build"=>"997644"
"address_id"=>nil, "shipping_discount_currency_id"=>"GBP"
"version"=>"57.0"
"shipping_option_name"=>nil, "tax_total_currency_id"=>"GBP"
"shipping_discount"=>"0.00"
"payer_id"=>"QWVRDBQ88DR7N"
"shipping_option_is_default"=>"false"
"last_name"=>"User"
"address_status"=>"Confirmed"
"phone"=>nil, "payer_status"=>"unverified"
"custom"=>"R884242533"
"suffix"=>nil, "order_total"=>"39.99"
"order_total_currency_id"=>"GBP"
"order_description"=>"Goods from a Spree-based site"
"insurance_total_currency_id"=>"GBP"
"handling_total_currency_id"=>"GBP"
"ack"=>"Success"
"middle_name"=>nil, "state_or_province"=>"West Midlands"
"shipping_total"=>"0.00"
"first_name"=>"Test"},
@test=true,
@authorization=nil,
@message="Success",
@success=true,
@cvv_result={"code"=>nil, "message"=>nil}>