paypal-payment 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/.rspec +1 -0
- data/Gemfile +18 -0
- data/Guardfile +24 -0
- data/README.rdoc +107 -0
- data/Rakefile +5 -0
- data/docs/AdaptivePayments.rdoc +84 -0
- data/docs/PP_NVPAPI_DeveloperGuide.pdf +0 -0
- data/docs/PP_WPP_IntegrationGuide.pdf +0 -0
- data/docs/adaptive_payments.md +55 -0
- data/docs/api.txt +67 -0
- data/docs/design.txt +38 -0
- data/docs/express_checkout.md +172 -0
- data/docs/requirements.txt +32 -0
- data/lib/paypal-payment.rb +10 -0
- data/lib/paypal/adaptive_payments.rb +31 -0
- data/lib/paypal/adaptive_payments/api.rb +51 -0
- data/lib/paypal/adaptive_payments/base.rb +11 -0
- data/lib/paypal/adaptive_payments/client_details.rb +14 -0
- data/lib/paypal/adaptive_payments/display_options.rb +10 -0
- data/lib/paypal/adaptive_payments/funding_constraint.rb +11 -0
- data/lib/paypal/adaptive_payments/funding_type_info.rb +8 -0
- data/lib/paypal/adaptive_payments/funding_type_list.rb +11 -0
- data/lib/paypal/adaptive_payments/initiating_entity.rb +11 -0
- data/lib/paypal/adaptive_payments/institution_customer.rb +13 -0
- data/lib/paypal/adaptive_payments/invoice_data.rb +13 -0
- data/lib/paypal/adaptive_payments/invoice_item.rb +11 -0
- data/lib/paypal/adaptive_payments/payment.rb +105 -0
- data/lib/paypal/adaptive_payments/payment_info.rb +18 -0
- data/lib/paypal/adaptive_payments/payment_info_list.rb +11 -0
- data/lib/paypal/adaptive_payments/payment_options.rb +39 -0
- data/lib/paypal/adaptive_payments/phone.rb +9 -0
- data/lib/paypal/adaptive_payments/preapproval.rb +52 -0
- data/lib/paypal/adaptive_payments/receiver.rb +17 -0
- data/lib/paypal/adaptive_payments/receiver_list.rb +49 -0
- data/lib/paypal/adaptive_payments/receiver_options.rb +19 -0
- data/lib/paypal/adaptive_payments/request.rb +51 -0
- data/lib/paypal/adaptive_payments/response.rb +38 -0
- data/lib/paypal/adaptive_payments/response/address.rb +13 -0
- data/lib/paypal/adaptive_payments/response/address_list.rb +11 -0
- data/lib/paypal/adaptive_payments/response/base_address.rb +13 -0
- data/lib/paypal/adaptive_payments/response/details.rb +19 -0
- data/lib/paypal/adaptive_payments/response/error_list.rb +15 -0
- data/lib/paypal/adaptive_payments/response/pay.rb +31 -0
- data/lib/paypal/adaptive_payments/response/pay_error.rb +16 -0
- data/lib/paypal/adaptive_payments/response/pay_error_list.rb +15 -0
- data/lib/paypal/adaptive_payments/response/pay_options.rb +7 -0
- data/lib/paypal/adaptive_payments/response/preapproval.rb +47 -0
- data/lib/paypal/adaptive_payments/response/refund.rb +16 -0
- data/lib/paypal/adaptive_payments/response/refund_info.rb +24 -0
- data/lib/paypal/adaptive_payments/response/refund_info_list.rb +11 -0
- data/lib/paypal/adaptive_payments/response/shipping_address.rb +11 -0
- data/lib/paypal/adaptive_payments/sender_identifier.rb +7 -0
- data/lib/paypal/adaptive_payments/sender_options.rb +8 -0
- data/lib/paypal/api.rb +94 -0
- data/lib/paypal/cacert.pem +3987 -0
- data/lib/paypal/common.rb +11 -0
- data/lib/paypal/common/base.rb +83 -0
- data/lib/paypal/common/error_data.rb +15 -0
- data/lib/paypal/common/request.rb +45 -0
- data/lib/paypal/common/request_envelope.rb +13 -0
- data/lib/paypal/common/response.rb +34 -0
- data/lib/paypal/common/response_envelope.rb +19 -0
- data/lib/paypal/express_checkout.rb +19 -0
- data/lib/paypal/express_checkout/account.rb +16 -0
- data/lib/paypal/express_checkout/api.rb +43 -0
- data/lib/paypal/express_checkout/base.rb +37 -0
- data/lib/paypal/express_checkout/billing.rb +7 -0
- data/lib/paypal/express_checkout/callback.rb +17 -0
- data/lib/paypal/express_checkout/checkout.rb +144 -0
- data/lib/paypal/express_checkout/fields.rb +449 -0
- data/lib/paypal/express_checkout/fmf.rb +7 -0
- data/lib/paypal/express_checkout/payment.rb +76 -0
- data/lib/paypal/express_checkout/payment_item.rb +7 -0
- data/lib/paypal/express_checkout/recurring.rb +131 -0
- data/lib/paypal/express_checkout/request.rb +212 -0
- data/lib/paypal/express_checkout/response.rb +52 -0
- data/lib/paypal/express_checkout/response/account.rb +30 -0
- data/lib/paypal/express_checkout/response/address.rb +29 -0
- data/lib/paypal/express_checkout/response/authorization.rb +25 -0
- data/lib/paypal/express_checkout/response/base.rb +125 -0
- data/lib/paypal/express_checkout/response/callback_request.rb +10 -0
- data/lib/paypal/express_checkout/response/callback_response.rb +8 -0
- data/lib/paypal/express_checkout/response/capture.rb +14 -0
- data/lib/paypal/express_checkout/response/checkout.rb +11 -0
- data/lib/paypal/express_checkout/response/details.rb +35 -0
- data/lib/paypal/express_checkout/response/manage_profile.rb +9 -0
- data/lib/paypal/express_checkout/response/notification.rb +85 -0
- data/lib/paypal/express_checkout/response/payment.rb +24 -0
- data/lib/paypal/express_checkout/response/profile.rb +58 -0
- data/lib/paypal/express_checkout/response/reference.rb +11 -0
- data/lib/paypal/express_checkout/response/refund.rb +13 -0
- data/lib/paypal/express_checkout/response/search.rb +33 -0
- data/lib/paypal/express_checkout/response/transaction_details.rb +11 -0
- data/lib/paypal/express_checkout/shipping_option.rb +7 -0
- data/lib/paypal/express_checkout/utils.rb +26 -0
- data/lib/paypal/express_checkout/version.rb +10 -0
- data/lib/paypal/invoice.rb +22 -0
- data/lib/paypal/invoice/api.rb +51 -0
- data/lib/paypal/invoice/base.rb +11 -0
- data/lib/paypal/invoice/base_address.rb +11 -0
- data/lib/paypal/invoice/business_info.rb +17 -0
- data/lib/paypal/invoice/date_range.rb +8 -0
- data/lib/paypal/invoice/invoice.rb +117 -0
- data/lib/paypal/invoice/invoice_details.rb +38 -0
- data/lib/paypal/invoice/invoice_item.rb +13 -0
- data/lib/paypal/invoice/invoice_item_list.rb +10 -0
- data/lib/paypal/invoice/invoice_summary.rb +22 -0
- data/lib/paypal/invoice/invoice_summary_list.rb +10 -0
- data/lib/paypal/invoice/other_payment_details.rb +13 -0
- data/lib/paypal/invoice/payment_details.rb +16 -0
- data/lib/paypal/invoice/paypal_payment_details.rb +11 -0
- data/lib/paypal/invoice/request.rb +43 -0
- data/lib/paypal/invoice/response.rb +27 -0
- data/lib/paypal/invoice/response/details.rb +23 -0
- data/lib/paypal/invoice/response/invoice.rb +10 -0
- data/lib/paypal/invoice/response/search.rb +15 -0
- data/lib/paypal/invoice/search.rb +19 -0
- data/lib/paypal/invoice/search_parameters.rb +20 -0
- data/lib/paypal/permissions.rb +12 -0
- data/lib/paypal/permissions/api.rb +60 -0
- data/lib/paypal/permissions/base.rb +11 -0
- data/lib/paypal/permissions/permission.rb +33 -0
- data/lib/paypal/permissions/personal_data.rb +17 -0
- data/lib/paypal/permissions/request.rb +52 -0
- data/lib/paypal/permissions/response.rb +24 -0
- data/lib/paypal/permissions/response/permission.rb +14 -0
- data/lib/paypal/permissions/response/personal_data.rb +8 -0
- data/lib/paypal/permissions/response/token.rb +10 -0
- data/lib/paypal/permissions/token.rb +13 -0
- data/lib/paypal/recurring.rb +110 -0
- data/lib/paypal/request.rb +82 -0
- data/lib/paypal/version.rb +8 -0
- data/paypal-payment.gemspec +30 -0
- data/spec/fixtures/adaptive_payments/payment/create/failure.yml +62 -0
- data/spec/fixtures/adaptive_payments/payment/create/success.yml +58 -0
- data/spec/fixtures/adaptive_payments/payment/details/success.yml +113 -0
- data/spec/fixtures/adaptive_payments/payment/pay/failure.yml +62 -0
- data/spec/fixtures/adaptive_payments/payment/pay/preapproval.yml +58 -0
- data/spec/fixtures/adaptive_payments/payment/pay/success.yml +58 -0
- data/spec/fixtures/adaptive_payments/payment/pay/with_pay_key.yml +58 -0
- data/spec/fixtures/adaptive_payments/payment/refund/failure.yml +62 -0
- data/spec/fixtures/adaptive_payments/payment/refund/success.yml +58 -0
- data/spec/fixtures/adaptive_payments/payment/shipping_addresses/success.yml +113 -0
- data/spec/fixtures/adaptive_payments/payment_options/get/success.yml +174 -0
- data/spec/fixtures/adaptive_payments/payment_options/set/success.yml +113 -0
- data/spec/fixtures/adaptive_payments/preapproval/create/success.yml +58 -0
- data/spec/fixtures/adaptive_payments/preapproval/details/success.yml +168 -0
- data/spec/fixtures/express_checkout/account/balance/success.yml +32 -0
- data/spec/fixtures/express_checkout/account/pal_details/success.yml +32 -0
- data/spec/fixtures/express_checkout/checkout/checkout/sales/success.yml +61 -0
- data/spec/fixtures/express_checkout/checkout/checkout/success.yml +32 -0
- data/spec/fixtures/express_checkout/checkout/details/failure.yml +32 -0
- data/spec/fixtures/express_checkout/checkout/details/success.yml +61 -0
- data/spec/fixtures/express_checkout/checkout/pay/sales/success.yml +61 -0
- data/spec/fixtures/express_checkout/checkout/pay/success.yml +61 -0
- data/spec/fixtures/express_checkout/payment/details/failure.yml +32 -0
- data/spec/fixtures/express_checkout/payment/details/success.yml +32 -0
- data/spec/fixtures/express_checkout/payment/refund/failure.yml +32 -0
- data/spec/fixtures/express_checkout/payment/refund/success.yml +32 -0
- data/spec/fixtures/express_checkout/payment/search/success.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/cancel/failure.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/cancel/success.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/checkout/success.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/create_profile/failure.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/create_profile/success.yml +61 -0
- data/spec/fixtures/express_checkout/recurring/profile/failure.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/profile/success.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/reactivate/failure.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/reactivate/success.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/suspend/failure.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/suspend/success.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/update_profile/failure.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/update_profile/profile.yml +32 -0
- data/spec/fixtures/express_checkout/recurring/update_profile/success.yml +32 -0
- data/spec/fixtures/invoice/cancel/success.yml +174 -0
- data/spec/fixtures/invoice/create/failure.yml +62 -0
- data/spec/fixtures/invoice/create/success.yml +60 -0
- data/spec/fixtures/invoice/create_and_send/failure.yml +62 -0
- data/spec/fixtures/invoice/create_and_send/success.yml +60 -0
- data/spec/fixtures/invoice/details/success.yml +117 -0
- data/spec/fixtures/invoice/mark_as_paid/failure.yml +180 -0
- data/spec/fixtures/invoice/mark_as_paid/success.yml +174 -0
- data/spec/fixtures/invoice/mark_as_refunded/success.yml +174 -0
- data/spec/fixtures/invoice/mark_as_unpaid/success.yml +231 -0
- data/spec/fixtures/invoice/search/success.yml +174 -0
- data/spec/fixtures/invoice/send/success.yml +117 -0
- data/spec/fixtures/invoice/update/failure.yml +119 -0
- data/spec/fixtures/invoice/update/success.yml +117 -0
- data/spec/fixtures/ipn/express_checkout.json +35 -0
- data/spec/fixtures/ipn/recurring_payment.json +44 -0
- data/spec/fixtures/ipn/recurring_payment_profile_created.json +31 -0
- data/spec/fixtures/ipn/recurring_payment_profile_created_with_initial_amount.json +33 -0
- data/spec/fixtures/ipn/recurring_payment_skipped.json +30 -0
- data/spec/fixtures/ipn/recurring_payment_with_initial_amount.json +44 -0
- data/spec/fixtures/notification/failure.yml +50 -0
- data/spec/fixtures/notification/success.yml +50 -0
- data/spec/paypal/adaptive_payments/api_spec.rb +20 -0
- data/spec/paypal/adaptive_payments/payment/base_spec.rb +28 -0
- data/spec/paypal/adaptive_payments/payment/create_spec.rb +63 -0
- data/spec/paypal/adaptive_payments/payment/details_spec.rb +34 -0
- data/spec/paypal/adaptive_payments/payment/pay_spec.rb +97 -0
- data/spec/paypal/adaptive_payments/payment/refund_spec.rb +49 -0
- data/spec/paypal/adaptive_payments/payment/shipping_addresses_spec.rb +30 -0
- data/spec/paypal/adaptive_payments/payment_options/get_spec.rb +33 -0
- data/spec/paypal/adaptive_payments/payment_options/set_spec.rb +66 -0
- data/spec/paypal/adaptive_payments/preapproval/cancel_spec.rb +34 -0
- data/spec/paypal/adaptive_payments/preapproval/create_spec.rb +39 -0
- data/spec/paypal/adaptive_payments/preapproval/details_spec.rb +34 -0
- data/spec/paypal/adaptive_payments/request_spec.rb +48 -0
- data/spec/paypal/api_spec.rb +78 -0
- data/spec/paypal/common/base_spec.rb +157 -0
- data/spec/paypal/common/error_data_spec.rb +0 -0
- data/spec/paypal/common/request_envelope_spec.rb +6 -0
- data/spec/paypal/common/response_spec.rb +0 -0
- data/spec/paypal/express_checkout/account/balance_spec.rb +25 -0
- data/spec/paypal/express_checkout/account/pal_details_spec.rb +20 -0
- data/spec/paypal/express_checkout/checkout/checkout_spec.rb +73 -0
- data/spec/paypal/express_checkout/checkout/details_spec.rb +70 -0
- data/spec/paypal/express_checkout/checkout/pay_spec.rb +68 -0
- data/spec/paypal/express_checkout/fields_spec.rb +138 -0
- data/spec/paypal/express_checkout/payment/refund_spec.rb +34 -0
- data/spec/paypal/express_checkout/payment/search_spec.rb +24 -0
- data/spec/paypal/express_checkout/payment/transaction_details_spec.rb +30 -0
- data/spec/paypal/express_checkout/payment_spec.rb +13 -0
- data/spec/paypal/express_checkout/recurring/create_profile_spec.rb +50 -0
- data/spec/paypal/express_checkout/recurring/manage_profile_spec.rb +62 -0
- data/spec/paypal/express_checkout/recurring/profile_spec.rb +44 -0
- data/spec/paypal/express_checkout/recurring/update_profile_spec.rb +50 -0
- data/spec/paypal/express_checkout/request_spec.rb +221 -0
- data/spec/paypal/express_checkout/response/account_spec.rb +33 -0
- data/spec/paypal/express_checkout/response/base_spec.rb +253 -0
- data/spec/paypal/invoice/cancel_spec.rb +38 -0
- data/spec/paypal/invoice/create_and_send_spec.rb +58 -0
- data/spec/paypal/invoice/create_spec.rb +58 -0
- data/spec/paypal/invoice/details_spec.rb +39 -0
- data/spec/paypal/invoice/mark_as_paid_spec.rb +75 -0
- data/spec/paypal/invoice/mark_as_refunded_spec.rb +47 -0
- data/spec/paypal/invoice/mark_as_unpaid_spec.rb +43 -0
- data/spec/paypal/invoice/search_spec.rb +70 -0
- data/spec/paypal/invoice/send_spec.rb +48 -0
- data/spec/paypal/invoice/update_spec.rb +72 -0
- data/spec/paypal/request_spec.rb +45 -0
- data/spec/spec_helper.rb +35 -0
- metadata +546 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&TRANSACTIONID=9H105857DB8084710&PROFILEREFERENCE=12345&PAYMENTREQUEST_0_CUSTOM=12345&PAYMENTREQUEST_0_INVNUM=12345&REFUNDTYPE=Full&PAYMENTREQUEST_0_AMT=9.00&AMT=9.00&PAYMENTREQUEST_0_CURRENCYCODE=USD&CURRENCYCODE=USD&METHOD=RefundTransaction
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 27 Feb 2013 16:22:15 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "261"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: TIMESTAMP=2013%2d02%2d27T16%3a22%3a16Z&CORRELATIONID=dd28f4c24b39&ACK=Failure&VERSION=72%2e0&BUILD=5331358&L_ERRORCODE0=10009&L_SHORTMESSAGE0=Transaction%20refused&L_LONGMESSAGE0=This%20transaction%20has%20already%20been%20fully%20refunded&L_SEVERITYCODE0=Error
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 27 Feb 2013 16:22:16 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&TRANSACTIONID=9H105857DB8084710&PROFILEREFERENCE=12345&PAYMENTREQUEST_0_CUSTOM=12345&PAYMENTREQUEST_0_INVNUM=12345&REFUNDTYPE=Full&PAYMENTREQUEST_0_AMT=9.00&AMT=9.00&PAYMENTREQUEST_0_CURRENCYCODE=USD&CURRENCYCODE=USD&METHOD=RefundTransaction
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 27 Feb 2013 16:21:21 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "251"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: REFUNDTRANSACTIONID=4T450045RX025224L&FEEREFUNDAMT=0%2e26&GROSSREFUNDAMT=9%2e00&NETREFUNDAMT=8%2e74&CURRENCYCODE=USD&TOTALREFUNDEDAMOUNT=9%2e00&TIMESTAMP=2013%2d02%2d27T16%3a21%3a29Z&CORRELATIONID=3b94c8d42357b&ACK=Success&VERSION=72%2e0&BUILD=5331358
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 27 Feb 2013 16:21:30 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&STARTDATE=2013-02-17T16%3A51%3A26Z&CURRENCYCODE=USD&method=TransactionSearch
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Sun, 17 Mar 2013 16:51:27 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "4151"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: L_TIMESTAMP0=2013%2d02%2d27T16%3a35%3a25Z&L_TIMESTAMP1=2013%2d02%2d27T16%3a21%3a29Z&L_TIMESTAMP2=2013%2d02%2d27T16%3a21%3a29Z&L_TIMESTAMP3=2013%2d02%2d27T16%3a00%3a09Z&L_TIMESTAMP4=2013%2d02%2d27T15%3a59%3a23Z&L_TIMESTAMP5=2013%2d02%2d27T15%3a57%3a58Z&L_TIMESTAMP6=2013%2d02%2d27T15%3a49%3a48Z&L_TIMESTAMP7=2013%2d02%2d22T10%3a20%3a57Z&L_TIMESTAMP8=2013%2d02%2d22T10%3a20%3a44Z&L_TIMESTAMP9=2013%2d02%2d22T10%3a20%3a44Z&L_TIMESTAMP10=2013%2d02%2d22T10%3a16%3a42Z&L_TIMESTAMP11=2013%2d02%2d22T07%3a25%3a44Z&L_TIMESTAMP12=2013%2d02%2d22T07%3a25%3a32Z&L_TIMESTAMP13=2013%2d02%2d22T07%3a25%3a19Z&L_TIMESTAMP14=2013%2d02%2d22T07%3a25%3a19Z&L_TIMESTAMP15=2013%2d02%2d20T16%3a30%3a02Z&L_TIMESTAMP16=2013%2d02%2d20T16%3a27%3a00Z&L_TIMESTAMP17=2013%2d02%2d20T16%3a06%3a35Z&L_TIMEZONE0=GMT&L_TIMEZONE1=GMT&L_TIMEZONE2=GMT&L_TIMEZONE3=GMT&L_TIMEZONE4=GMT&L_TIMEZONE5=GMT&L_TIMEZONE6=GMT&L_TIMEZONE7=GMT&L_TIMEZONE8=GMT&L_TIMEZONE9=GMT&L_TIMEZONE10=GMT&L_TIMEZONE11=GMT&L_TIMEZONE12=GMT&L_TIMEZONE13=GMT&L_TIMEZONE14=GMT&L_TIMEZONE15=GMT&L_TIMEZONE16=GMT&L_TIMEZONE17=GMT&L_TYPE0=Recurring%20Payment&L_TYPE1=Fee%20Reversal&L_TYPE2=Refund&L_TYPE3=Recurring%20Payment&L_TYPE4=Recurring%20Payment&L_TYPE5=Recurring%20Payment&L_TYPE6=Recurring%20Payment&L_TYPE7=Recurring%20Payment&L_TYPE8=Currency%20Conversion%20%28credit%29&L_TYPE9=Recurring%20Payment&L_TYPE10=Recurring%20Payment&L_TYPE11=Recurring%20Payment&L_TYPE12=Recurring%20Payment&L_TYPE13=Currency%20Conversion%20%28credit%29&L_TYPE14=Recurring%20Payment&L_TYPE15=Recurring%20Payment&L_TYPE16=Recurring%20Payment&L_TYPE17=Recurring%20Payment&L_EMAIL2=chardy_1345003165_per%40gmail%2com&L_EMAIL7=chardy_1345003165_per%40gmail%2com&L_EMAIL9=chardy_1345003165_per%40gmail%2com&L_EMAIL10=chardy_1345003165_per%40gmail%2com&L_EMAIL11=chardy_1345003165_per%40gmail%2com&L_EMAIL12=chardy_1345003165_per%40gmail%2com&L_EMAIL14=chardy_1345003165_per%40gmail%2com&L_NAME0=Chardy%Wang&L_NAME1=PayPal&L_NAME2=Chardy%Wang&L_NAME3=Chardy%Wang&L_NAME4=Chardy%Wang&L_NAME5=Chardy%Wang&L_NAME6=Chardy%Wang&L_NAME7=Chardy%Wang&L_NAME8=From%20Brazilian%20Real&L_NAME9=Chardy%Wang&L_NAME10=Chardy%Wang&L_NAME11=Chardy%Wang&L_NAME12=Chardy%Wang&L_NAME13=From%20Brazilian%20Real&L_NAME14=Chardy%Wang&L_NAME15=Chardy%Wang&L_NAME16=Chardy%Wang&L_NAME17=Chardy%Wang&L_TRANSACTIONID0=I%2d2YXA7FG2X8AJ&L_TRANSACTIONID1=9JD42008S7370082T&L_TRANSACTIONID2=4T450045RX025224L&L_TRANSACTIONID3=I%2d1RFWFFS16BF4&L_TRANSACTIONID4=I%2d1RFWFFS16BF4&L_TRANSACTIONID5=I%2d1RFWFFS16BF4&L_TRANSACTIONID6=I%2d9P7YSC1J6XET&L_TRANSACTIONID7=5D817356K1809134A&L_TRANSACTIONID8=6UW235872M875961G&L_TRANSACTIONID9=90915427EC5610928&L_TRANSACTIONID10=66F40568N38161923&L_TRANSACTIONID11=7F857994SU434360G&L_TRANSACTIONID12=8NM71507T5548714X&L_TRANSACTIONID13=2P211065L7484852Y&L_TRANSACTIONID14=7U919842UR0863028&L_TRANSACTIONID15=I%2d9P7YSC1J6XET&L_TRANSACTIONID16=I%2d1RFWFFS16BF4&L_TRANSACTIONID17=I%2d2YXA7FG2X8AJ&L_STATUS0=Updated&L_STATUS1=Completed&L_STATUS2=Completed&L_STATUS3=Canceled&L_STATUS4=Reactivated&L_STATUS5=Suspended&L_STATUS6=Suspended&L_STATUS7=Completed&L_STATUS8=Completed&L_STATUS9=Completed&L_STATUS10=Refunded&L_STATUS11=Completed&L_STATUS12=Completed&L_STATUS13=Completed&L_STATUS14=Completed&L_STATUS15=Created&L_STATUS16=Created&L_STATUS17=Created&L_AMT1=0%2e26&L_AMT2=%2d9%2e00&L_AMT7=9%2e00&L_AMT8=2%2e88&L_AMT9=9%2e00&L_AMT10=9%2e00&L_AMT11=9%2e00&L_AMT12=9%2e00&L_AMT13=2%2e88&L_AMT14=9%2e00&L_CURRENCYCODE1=USD&L_CURRENCYCODE2=USD&L_CURRENCYCODE7=USD&L_CURRENCYCODE8=USD&L_CURRENCYCODE9=BRL&L_CURRENCYCODE10=USD&L_CURRENCYCODE11=USD&L_CURRENCYCODE12=USD&L_CURRENCYCODE13=USD&L_CURRENCYCODE14=BRL&L_FEEAMT1=0%2e00&L_FEEAMT2=0%2e26&L_FEEAMT7=%2d0%2e56&L_FEEAMT8=0%2e00&L_FEEAMT9=%2d0%2e66&L_FEEAMT10=%2d0%2e56&L_FEEAMT11=%2d0%2e56&L_FEEAMT12=%2d0%2e56&L_FEEAMT13=0%2e00&L_FEEAMT14=%2d0%2e66&L_NETAMT1=0%2e26&L_NETAMT2=%2d8%2e74&L_NETAMT7=8%2e44&L_NETAMT8=2%2e88&L_NETAMT9=8%2e34&L_NETAMT10=8%2e44&L_NETAMT11=8%2e44&L_NETAMT12=8%2e44&L_NETAMT13=2%2e88&L_NETAMT14=8%2e34&TIMESTAMP=2013%2d03%2d17T16%3a51%3a30Z&CORRELATIONID=2552cc4cea084&ACK=Success&VERSION=72%2e0&BUILD=5331358
|
30
|
+
http_version:
|
31
|
+
recorded_at: Sun, 17 Mar 2013 16:51:30 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&ACTION=Cancel&PROFILEID=I-1RFWFFS16BF4&METHOD=ManageRecurringPaymentsProfileStatus
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 27 Feb 2013 16:01:20 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "387"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: TIMESTAMP=2013%2d02%2d27T16%3a01%3a20Z&CORRELATIONID=8aa0b302546d6&ACK=Failure&VERSION=72%2e0&BUILD=5294323&L_ERRORCODE0=11556&L_SHORTMESSAGE0=Invalid%20profile%20status%20for%20cancel%20action%3b%20profile%20should%20be%20active%20or%20suspended&L_LONGMESSAGE0=Invalid%20profile%20status%20for%20cancel%20action%3b%20profile%20should%20be%20active%20or%20suspended&L_SEVERITYCODE0=Error
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 27 Feb 2013 16:01:20 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&ACTION=Cancel&PROFILEID=I-1RFWFFS16BF4&METHOD=ManageRecurringPaymentsProfileStatus
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 27 Feb 2013 16:00:09 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "134"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: PROFILEID=I%2d1RFWFFS16BF4&TIMESTAMP=2013%2d02%2d27T16%3a00%3a11Z&CORRELATIONID=d989f9ba42161&ACK=Success&VERSION=72%2e0&BUILD=5294323
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 27 Feb 2013 16:00:12 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&PAYMENTREQUEST_0_AMT=9.00&AMT=9.00&RETURNURL=http%3A%2F%2Fexample.com%2Fthank_you&CANCELURL=http%3A%2F%2Fexample.com%2Fcanceled&PAYMENTREQUEST_0_CURRENCYCODE=USD&CURRENCYCODE=USD&DESC=Awesome+-+Monthly+Subscription&PAYMENTREQUEST_0_DESC=Awesome+-+Monthly+Subscription&L_BILLINGAGREEMENTDESCRIPTION0=Awesome+-+Monthly+Subscription&PAYMENTREQUEST_0_NOTIFYURL=http%3A%2F%2Fexample.com%2Fpaypal%2Fipn&NOTIFYURL=http%3A%2F%2Fexample.com%2Fpaypal%2Fipn&PAYMENTREQUEST_0_PAYMENTACTION=Authorization&NOSHIPPING=1&L_BILLINGTYPE0=RecurringPayments&METHOD=SetExpressCheckout
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 20 Feb 2013 15:08:01 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "136"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: TOKEN=EC%2d9JL456617P5954509&TIMESTAMP=2013%2d02%2d20T15%3a08%3a02Z&CORRELATIONID=a38183e8a0acb&ACK=Success&VERSION=72%2e0&BUILD=5060305
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 20 Feb 2013 15:08:02 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&METHOD=CreateRecurringPaymentsProfile
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 20 Feb 2013 15:15:42 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "933"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: TIMESTAMP=2013%2d02%2d20T15%3a15%3a42Z&CORRELATIONID=3ae0a171ac6a6&ACK=Failure&VERSION=72%2e0&BUILD=5060305&L_ERRORCODE0=11585&L_ERRORCODE1=11518&L_ERRORCODE2=11516&L_ERRORCODE3=11519&L_ERRORCODE4=11549&L_SHORTMESSAGE0=Missing%20Token%20or%20payment%20source&L_SHORTMESSAGE1=Invalid%20billing%20period%2e&L_SHORTMESSAGE2=Invalid%20billing%20frequency&L_SHORTMESSAGE3=Invalid%20amount&L_SHORTMESSAGE4=Start%20Date%20is%20required&L_LONGMESSAGE0=Missing%20Token%20or%20buyer%20credit%20card&L_LONGMESSAGE1=Billing%20period%20must%20be%20one%20of%20Day%2c%20Week%2c%20SemiMonth%2c%20or%20Year&L_LONGMESSAGE2=Billing%20frequency%20must%20be%20%3e%200%20and%20be%20less%20than%20or%20equal%20to%20one%20year&L_LONGMESSAGE3=Bill%20amount%20must%20be%20greater%20than%200&L_LONGMESSAGE4=Subscription%20start%20date%20is%20required&L_SEVERITYCODE0=Error&L_SEVERITYCODE1=Error&L_SEVERITYCODE2=Error&L_SEVERITYCODE3=Error&L_SEVERITYCODE4=Error
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 20 Feb 2013 15:15:43 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&TOKEN=EC-2EV77664BK856305S&method=GetExpressCheckoutDetails
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Sun, 17 Mar 2013 18:11:23 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "1509"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: TOKEN=EC%2d2EV77664BK856305S&BILLINGAGREEMENTACCEPTEDSTATUS=1&CHECKOUTSTATUS=PaymentActionNotInitiated&TIMESTAMP=2013%2d03%2d17T18%3a11%3a23Z&CORRELATIONID=114711c843bfa&ACK=Success&VERSION=72%2e0&BUILD=5451042&EMAIL=chardy_1345003165_per%40gmail%2com&PAYERID=4YLKLC48QZJ6Y&PAYERSTATUS=unverified&FIRSTNAME=Chardy&LASTNAME=Wang&COUNTRYCODE=US&SHIPTONAME=Chardy%Wang&SHIPTOSTREET=1%20Main%20St&SHIPTOCITY=San%20Jose&SHIPTOSTATE=CA&SHIPTOZIP=95131&SHIPTOCOUNTRYCODE=US&SHIPTOCOUNTRYNAME=United%20States&ADDRESSSTATUS=Confirmed&CURRENCYCODE=USD&AMT=9%2e00&SHIPPINGAMT=0%2e00&HANDLINGAMT=0%2e00&TAXAMT=0%2e00&DESC=Awesome%20%2d%20Monthly%20Subscription&NOTIFYURL=http%3a%2f%2fexample%2ecom%2fpaypal%2fipn&INSURANCEAMT=0%2e00&SHIPDISCAMT=0%2e00&PAYMENTREQUEST_0_CURRENCYCODE=USD&PAYMENTREQUEST_0_AMT=9%2e00&PAYMENTREQUEST_0_SHIPPINGAMT=0%2e00&PAYMENTREQUEST_0_HANDLINGAMT=0%2e00&PAYMENTREQUEST_0_TAXAMT=0%2e00&PAYMENTREQUEST_0_DESC=Awesome%20%2d%20Monthly%20Subscription&PAYMENTREQUEST_0_NOTIFYURL=http%3a%2f%2fexample%2ecom%2fpaypal%2fipn&PAYMENTREQUEST_0_INSURANCEAMT=0%2e00&PAYMENTREQUEST_0_SHIPDISCAMT=0%2e00&PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED=false&PAYMENTREQUEST_0_SHIPTONAME=Chardy%Wang&PAYMENTREQUEST_0_SHIPTOSTREET=1%20Main%20St&PAYMENTREQUEST_0_SHIPTOCITY=San%20Jose&PAYMENTREQUEST_0_SHIPTOSTATE=CA&PAYMENTREQUEST_0_SHIPTOZIP=95131&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=US&PAYMENTREQUEST_0_SHIPTOCOUNTRYNAME=United%20States&PAYMENTREQUEST_0_ADDRESSSTATUS=Confirmed&PAYMENTREQUESTINFO_0_ERRORCODE=0
|
30
|
+
http_version:
|
31
|
+
recorded_at: Sun, 17 Mar 2013 18:11:24 GMT
|
32
|
+
- request:
|
33
|
+
method: post
|
34
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
35
|
+
body:
|
36
|
+
encoding: US-ASCII
|
37
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&PROFILESTARTDATE=2013-03-17T18%3A11%3A24Z&DESC=Awesome+-+Monthly+Subscription&MAXFAILEDPAYMENTS=1&AUTOBILLOUTAMT=AddToNextBilling&PROFILEREFERENCE=1234&AMT=9.00&CURRENCYCODE=USD&BILLINGPERIOD=Month&BILLINGFREQUENCY=1&INITAMT=9.00&FAILEDINITAMTACTION=CancelOnFailure&TOKEN=EC-2EV77664BK856305S&PAYERID=4YLKLC48QZJ6Y&method=CreateRecurringPaymentsProfile
|
38
|
+
headers:
|
39
|
+
User-Agent:
|
40
|
+
- PayPal::Payment/0.1
|
41
|
+
response:
|
42
|
+
status:
|
43
|
+
code: 200
|
44
|
+
message: OK
|
45
|
+
headers:
|
46
|
+
Date:
|
47
|
+
- Sun, 17 Mar 2013 18:11:25 GMT
|
48
|
+
Server:
|
49
|
+
- Apache
|
50
|
+
Content-Length:
|
51
|
+
- "163"
|
52
|
+
Connection:
|
53
|
+
- close
|
54
|
+
Content-Type:
|
55
|
+
- text/plain; charset=utf-8
|
56
|
+
body:
|
57
|
+
encoding: ASCII-8BIT
|
58
|
+
string: PROFILEID=I%2d3LJF616J1FB7&PROFILESTATUS=PendingProfile&TIMESTAMP=2013%2d03%2d17T18%3a11%3a26Z&CORRELATIONID=f4ac16bc6a0a0&ACK=Success&VERSION=72%2e0&BUILD=5294323
|
59
|
+
http_version:
|
60
|
+
recorded_at: Sun, 17 Mar 2013 18:11:26 GMT
|
61
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&PROFILEID=invalid&METHOD=GetRecurringPaymentsProfileDetails
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 27 Feb 2013 16:07:42 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "254"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: PROFILEID=invalid&TIMESTAMP=2013%2d02%2d27T16%3a07%3a42Z&CORRELATIONID=c88ac8cc5f70c&ACK=Failure&VERSION=72%2e0&BUILD=5294323&L_ERRORCODE0=11552&L_SHORTMESSAGE0=Invalid%20profile%20ID&L_LONGMESSAGE0=The%20profile%20ID%20is%20invalid&L_SEVERITYCODE0=Error
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 27 Feb 2013 16:07:42 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&PROFILEID=I-1RFWFFS16BF4&METHOD=GetRecurringPaymentsProfileDetails
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 27 Feb 2013 16:07:40 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "948"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: PROFILEID=I%2d1RFWFFS16BF4&STATUS=Cancelled&AUTOBILLOUTAMT=AddToNextBilling&DESC=Awesome%20%2d%20Monthly%20Subscription&MAXFAILEDPAYMENTS=1&SUBSCRIBERNAME=Chardy%Wang&PROFILESTARTDATE=2013%2d02%2d21T08%3a00%3a00Z&PROFILEREFERENCE=1234&NUMCYCLESCOMPLETED=1&NUMCYCLESREMAINING=18446744073709551615&OUTSTANDINGBALANCE=0%2e00&FAILEDPAYMENTCOUNT=0&LASTPAYMENTDATE=2013%2d02%2d22T10%3a20%3a57Z&LASTPAYMENTAMT=9%2e00&TRIALAMTPAID=0%2e00®ULARAMTPAID=9%2e00&AGGREGATEAMT=9%2e00&AGGREGATEOPTIONALAMT=9%2e00&FINALPAYMENTDUEDATE=1970%2d01%2d01T00%3a00%3a00Z&TIMESTAMP=2013%2d02%2d27T16%3a07%3a40Z&CORRELATIONID=6ee3f605245b4&ACK=Success&VERSION=72%2e0&BUILD=5294323&BILLINGPERIOD=Month&BILLINGFREQUENCY=1&TOTALBILLINGCYCLES=0&CURRENCYCODE=USD&AMT=9%2e00&SHIPPINGAMT=0%2e00&TAXAMT=0%2e00®ULARBILLINGPERIOD=Month®ULARBILLINGFREQUENCY=1®ULARTOTALBILLINGCYCLES=0®ULARCURRENCYCODE=USD®ULARAMT=9%2e00®ULARSHIPPINGAMT=0%2e00®ULARTAXAMT=0%2e00
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 27 Feb 2013 16:07:40 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&ACTION=Reactivate&PROFILEID=I-1RFWFFS16BF4&METHOD=ManageRecurringPaymentsProfileStatus
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 27 Feb 2013 16:01:02 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "367"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: TIMESTAMP=2013%2d02%2d27T16%3a01%3a02Z&CORRELATIONID=ea890bce36ca4&ACK=Failure&VERSION=72%2e0&BUILD=5294323&L_ERRORCODE0=11558&L_SHORTMESSAGE0=Invalid%20profile%20status%20for%20reactivate%20action%3b%20profile%20should%20be%20suspended&L_LONGMESSAGE0=Invalid%20profile%20status%20for%20reactivate%20action%3b%20profile%20should%20be%20suspended&L_SEVERITYCODE0=Error
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 27 Feb 2013 16:01:02 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&ACTION=Reactivate&PROFILEID=I-1RFWFFS16BF4&METHOD=ManageRecurringPaymentsProfileStatus
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 27 Feb 2013 15:59:22 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "134"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: PROFILEID=I%2d1RFWFFS16BF4&TIMESTAMP=2013%2d02%2d27T15%3a59%3a24Z&CORRELATIONID=5f3f7b78bffb8&ACK=Success&VERSION=72%2e0&BUILD=5294323
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 27 Feb 2013 15:59:24 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-3t.sandbox.paypal.com/nvp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: USER=chardy_api1.gmail.com&PWD=8DTSWBZC7GDR3T4X&SIGNATURE=AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS&VERSION=72.0&ACTION=Suspend&PROFILEID=I-1RFWFFS16BF4&METHOD=ManageRecurringPaymentsProfileStatus
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- PayPal::Payment/0.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Wed, 27 Feb 2013 16:00:33 GMT
|
19
|
+
Server:
|
20
|
+
- Apache
|
21
|
+
Content-Length:
|
22
|
+
- "355"
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=utf-8
|
27
|
+
body:
|
28
|
+
encoding: ASCII-8BIT
|
29
|
+
string: TIMESTAMP=2013%2d02%2d27T16%3a00%3a33Z&CORRELATIONID=6eee6bc14b7b4&ACK=Failure&VERSION=72%2e0&BUILD=5294323&L_ERRORCODE0=11557&L_SHORTMESSAGE0=Invalid%20profile%20status%20for%20suspend%20action%3b%20profile%20should%20be%20active&L_LONGMESSAGE0=Invalid%20profile%20status%20for%20suspend%20action%3b%20profile%20should%20be%20active&L_SEVERITYCODE0=Error
|
30
|
+
http_version:
|
31
|
+
recorded_at: Wed, 27 Feb 2013 16:00:33 GMT
|
32
|
+
recorded_with: VCR 2.3.0
|