killbill-paypal-express 5.0.4 → 5.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +0,0 @@
1
- class AddIndexes < ActiveRecord::Migration
2
-
3
- def change
4
- add_index(:paypal_express_transactions, :paypal_express_response_id, :name => 'idx_paypal_express_transactions_on_paypal_express_response_id')
5
- add_index(:paypal_express_responses, [:kb_payment_id, :kb_tenant_id], :name => 'idx_paypal_express_responses_on_kb_payment_id_kb_tenant_id')
6
- end
7
- end
@@ -1,11 +0,0 @@
1
- class EnlargeMessage < ActiveRecord::Migration
2
-
3
- def change
4
- reversible do |dir|
5
- change_table :paypal_express_responses do |t|
6
- dir.up { t.change :message, :text }
7
- dir.down { t.change :message, :string }
8
- end
9
- end
10
- end
11
- end
@@ -1,7 +0,0 @@
1
- class AddIndexes < ActiveRecord::Migration
2
-
3
- def change
4
- add_index(:paypal_express_responses, :kb_account_id, :name => 'idx_paypal_express_responses_on_kb_account_id')
5
- add_index(:paypal_express_responses, :payer_email, :name => 'idx_paypal_express_responses_on_payer_email')
6
- end
7
- end
@@ -1,122 +0,0 @@
1
- require 'active_record'
2
-
3
- ActiveRecord::Schema.define(:version => 20151008153635) do
4
- create_table "paypal_express_payment_methods", :force => true do |t|
5
- t.string "kb_payment_method_id" # NULL before Kill Bill knows about it
6
- t.string "paypal_express_payer_id" # NULL before the express checkout is completed
7
- t.string "paypal_express_token"
8
- t.string "token" # paypal-express baid, NULL before the express checkout is completed
9
- t.string "cc_first_name"
10
- t.string "cc_last_name"
11
- t.string "cc_type"
12
- t.string "cc_exp_month"
13
- t.string "cc_exp_year"
14
- t.string "cc_number"
15
- t.string "cc_last_4"
16
- t.string "cc_start_month"
17
- t.string "cc_start_year"
18
- t.string "cc_issue_number"
19
- t.string "cc_verification_value"
20
- t.string "cc_track_data"
21
- t.string "address1"
22
- t.string "address2"
23
- t.string "city"
24
- t.string "state"
25
- t.string "zip"
26
- t.string "country"
27
- t.boolean "is_deleted", :null => false, :default => false
28
- t.datetime "created_at", :null => false
29
- t.datetime "updated_at", :null => false
30
- t.string "kb_account_id"
31
- t.string "kb_tenant_id"
32
- end
33
-
34
- add_index(:paypal_express_payment_methods, :kb_account_id)
35
- add_index(:paypal_express_payment_methods, :kb_payment_method_id)
36
-
37
- create_table "paypal_express_transactions", :force => true do |t|
38
- t.integer "paypal_express_response_id", :null => false
39
- t.string "api_call", :null => false
40
- t.string "kb_payment_id", :null => false
41
- t.string "kb_payment_transaction_id", :null => false
42
- t.string "transaction_type", :null => false
43
- t.string "payment_processor_account_id"
44
- t.string "txn_id" # paypal-express transaction id
45
- # Both null for void
46
- t.integer "amount_in_cents"
47
- t.string "currency"
48
- t.datetime "created_at", :null => false
49
- t.datetime "updated_at", :null => false
50
- t.string "kb_account_id", :null => false
51
- t.string "kb_tenant_id", :null => false
52
- end
53
-
54
- add_index(:paypal_express_transactions, :kb_payment_id)
55
- add_index(:paypal_express_transactions, :paypal_express_response_id, :name => 'idx_paypal_express_transactions_on_paypal_express_response_id')
56
-
57
- create_table "paypal_express_responses", :force => true do |t|
58
- t.string "api_call", :null => false
59
- t.string "kb_payment_id"
60
- t.string "kb_payment_transaction_id"
61
- t.string "transaction_type"
62
- t.string "payment_processor_account_id"
63
- t.text "message"
64
- t.string "authorization"
65
- t.boolean "fraud_review"
66
- t.boolean "test"
67
- t.string "token"
68
- t.string "payer_id"
69
- t.string "billing_agreement_id"
70
- t.string "payer_name"
71
- t.string "payer_email"
72
- t.string "payer_country"
73
- t.string "contact_phone"
74
- t.string "ship_to_address_name"
75
- t.string "ship_to_address_company"
76
- t.string "ship_to_address_address1"
77
- t.string "ship_to_address_address2"
78
- t.string "ship_to_address_city"
79
- t.string "ship_to_address_state"
80
- t.string "ship_to_address_country"
81
- t.string "ship_to_address_zip"
82
- t.string "ship_to_address_phone"
83
- t.string "receiver_info_business"
84
- t.string "receiver_info_receiver"
85
- t.string "receiver_info_receiverid"
86
- t.string "payment_info_transactionid"
87
- t.string "payment_info_parenttransactionid"
88
- t.string "payment_info_receiptid"
89
- t.string "payment_info_transactiontype"
90
- t.string "payment_info_paymenttype"
91
- t.string "payment_info_paymentdate"
92
- t.string "payment_info_grossamount"
93
- t.string "payment_info_feeamount"
94
- t.string "payment_info_taxamount"
95
- t.string "payment_info_exchangerate"
96
- t.string "payment_info_paymentstatus"
97
- t.string "payment_info_pendingreason"
98
- t.string "payment_info_reasoncode"
99
- t.string "payment_info_protectioneligibility"
100
- t.string "payment_info_protectioneligibilitytype"
101
- t.string "payment_info_shipamount"
102
- t.string "payment_info_shiphandleamount"
103
- t.string "payment_info_shipdiscount"
104
- t.string "payment_info_insuranceamount"
105
- t.string "payment_info_subject"
106
- t.string "avs_result_code"
107
- t.string "avs_result_message"
108
- t.string "avs_result_street_match"
109
- t.string "avs_result_postal_match"
110
- t.string "cvv_result_code"
111
- t.string "cvv_result_message"
112
- t.boolean "success"
113
- t.datetime "created_at", :null => false
114
- t.datetime "updated_at", :null => false
115
- t.string "kb_account_id"
116
- t.string "kb_tenant_id"
117
- end
118
-
119
- add_index(:paypal_express_responses, [:kb_payment_id, :kb_tenant_id], :name => 'idx_paypal_express_responses_on_kb_payment_id_kb_tenant_id')
120
- add_index(:paypal_express_responses, :kb_account_id, :name => 'idx_paypal_express_responses_on_kb_account_id')
121
- add_index(:paypal_express_responses, :payer_email, :name => 'idx_paypal_express_responses_on_payer_email')
122
- end
@@ -1,53 +0,0 @@
1
- version = File.read(File.expand_path('../VERSION', __FILE__)).strip
2
-
3
- Gem::Specification.new do |s|
4
- s.name = 'killbill-paypal-express'
5
- s.version = version
6
- s.summary = 'Plugin to use Paypal Express Checkout as a gateway.'
7
- s.description = 'Kill Bill payment plugin for Paypal Express Checkout.'
8
-
9
- s.required_ruby_version = '>= 1.9.3'
10
-
11
- s.license = 'Apache License (2.0)'
12
-
13
- s.author = 'Kill Bill core team'
14
- s.email = 'killbilling-users@googlegroups.com'
15
- s.homepage = 'http://killbill.io'
16
-
17
- s.files = `git ls-files`.split("\n")
18
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
- s.bindir = 'bin'
20
- s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
21
- s.require_paths = ['lib']
22
-
23
- s.rdoc_options << '--exclude' << '.'
24
-
25
- s.add_dependency 'killbill', '~> 8.0'
26
-
27
- s.add_dependency 'sinatra', '~> 1.3.4'
28
- s.add_dependency 'thread_safe', '~> 0.3.4'
29
- s.add_dependency 'activerecord', '~> 4.1.0'
30
- if defined?(JRUBY_VERSION)
31
- s.add_dependency 'activerecord-bogacs', '~> 0.3'
32
- s.add_dependency 'activerecord-jdbc-adapter', '~> 1.3', '< 1.5'
33
- s.add_dependency 'jruby-openssl', '~> 0.9.11'
34
- end
35
- s.add_dependency 'actionpack', '~> 4.1.0'
36
- s.add_dependency 'actionview', '~> 4.1.0'
37
- s.add_dependency 'activemerchant', '~> 1.53.0'
38
- s.add_dependency 'offsite_payments', '~> 2.1.0'
39
- s.add_dependency 'monetize', '~> 1.1.0'
40
- s.add_dependency 'money', '~> 6.5.1'
41
-
42
- s.add_development_dependency 'jbundler', '~> 0.9.2'
43
- s.add_development_dependency 'rake', '>= 10.0.0'
44
- s.add_development_dependency 'rspec', '~> 2.12.0'
45
- s.add_development_dependency 'selenium-webdriver', '~>2.53.0'
46
- if defined?(JRUBY_VERSION)
47
- s.add_development_dependency 'jdbc-sqlite3', '~> 3.7'
48
- s.add_development_dependency 'jdbc-mariadb', '~> 1.1'
49
- s.add_development_dependency 'jdbc-postgres', '~> 9.4'
50
- else
51
- s.add_development_dependency 'sqlite3', '~> 1.3.7'
52
- end
53
- end
@@ -1,3 +0,0 @@
1
- mainClass=Killbill::PaypalExpress::PaymentPlugin
2
- require=paypal_express
3
- pluginType=PAYMENT
@@ -1,30 +0,0 @@
1
- :paypal_express:
2
- :signature: <%= ENV['SIGNATURE'] %>
3
- :login: <%= ENV['LOGIN'] %>
4
- :password: <%= ENV['PASSWORD'] %>
5
- :test: true
6
-
7
- :database:
8
- # SQLite (development)
9
- :adapter: sqlite3
10
- :database: test.db
11
- # For MySQL
12
- # :adapter: mysql
13
- # :username: 'killbill'
14
- # :password: 'killbill'
15
- # :database: 'killbill' # or set the URL :
16
- # #:url: jdbc:mysql://127.0.0.1:3306/killbill
17
- # :driver: org.mariadb.jdbc.Driver # as in KB
18
- # :pool: 30 # AR's default is max 5 connections
19
- # In Kill Bill
20
- # :adapter: mysql
21
- # :jndi: 'killbill/osgi/jdbc'
22
- # :pool: false # false-pool (JNDI pool's max)
23
- # # uncomment if pool does not support JDBC4 :
24
- # #:connection_alive_sql: 'select 1'
25
- # # MySQL adapter #configure_connection defaults :
26
- # # @@SESSION.sql_auto_is_null = 0,
27
- # # @@SESSION.wait_timeout = 2147483,
28
- # # @@SESSION.sql_mode = 'STRICT_ALL_TABLES'
29
- # # ... can be disabled (on AR-JDBC 1.4) using :
30
- # :configure_connection: false
data/pom.xml DELETED
@@ -1,45 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!--
3
- ~ Copyright 2010-2013 Ning, Inc.
4
- ~ Copyright 2014-2015 The Billing Project, LLC
5
- ~
6
- ~ The Billing Project licenses this file to you under the Apache License, version 2.0
7
- ~ (the "License"); you may not use this file except in compliance with the
8
- ~ License. You may obtain a copy of the License at:
9
- ~
10
- ~ http://www.apache.org/licenses/LICENSE-2.0
11
- ~
12
- ~ Unless required by applicable law or agreed to in writing, software
13
- ~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
- ~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
- ~ License for the specific language governing permissions and limitations
16
- ~ under the License.
17
- -->
18
-
19
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20
- <parent>
21
- <groupId>org.sonatype.oss</groupId>
22
- <artifactId>oss-parent</artifactId>
23
- <version>5</version>
24
- </parent>
25
- <modelVersion>4.0.0</modelVersion>
26
- <groupId>org.kill-bill.billing.plugin.ruby</groupId>
27
- <artifactId>paypal-express-plugin</artifactId>
28
- <packaging>pom</packaging>
29
- <version>5.0.4</version>
30
- <name>paypal-express-plugin</name>
31
- <url>http://github.com/killbill/killbill-paypal-express-plugin</url>
32
- <description>Plugin for accessing Paypal Express Checkout as a payment gateway</description>
33
- <licenses>
34
- <license>
35
- <name>Apache License 2.0</name>
36
- <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
37
- <distribution>repo</distribution>
38
- </license>
39
- </licenses>
40
- <scm>
41
- <connection>scm:git:git://github.com/killbill/killbill-paypal-express-plugin.git</connection>
42
- <url>https://github.com/killbill/killbill-paypal-express-plugin/</url>
43
- <developerConnection>scm:git:git@github.com:killbill/killbill-paypal-express-plugin.git</developerConnection>
44
- </scm>
45
- </project>
data/release.sh DELETED
@@ -1,61 +0,0 @@
1
- set -e
2
-
3
- BUNDLE=${BUNDLE-"bundle exec"}
4
- MVN=${MVN-"mvn"}
5
-
6
- if [ 'GNU' != "$(tar --help | grep GNU | head -1 | awk '{print $1}')" ]; then
7
- echo 'Unable to release: make sure to use GNU tar'
8
- exit 1
9
- fi
10
-
11
- if $(ruby -e'require "java"'); then
12
- # Good
13
- echo 'Detected JRuby'
14
- else
15
- echo 'Unable to release: make sure to use JRuby'
16
- exit 1
17
- fi
18
-
19
- VERSION=`grep -E '<version>([0-9]+\.[0-9]+\.[0-9]+)</version>' pom.xml | sed 's/[\t \n]*<version>\(.*\)<\/version>[\t \n]*/\1/'`
20
- if [[ -z "$NO_RELEASE" && "$VERSION" != "$(cat $PWD/VERSION)" ]]; then
21
- echo 'Unable to release: make sure the versions in pom.xml and VERSION match'
22
- exit 1
23
- fi
24
-
25
- echo 'Cleaning up'
26
- $BUNDLE rake killbill:clean
27
-
28
- echo 'Building gem'
29
- $BUNDLE rake build
30
-
31
- if [[ -z "$NO_RELEASE" ]]; then
32
- echo 'Pushing the gem to Rubygems'
33
- $BUNDLE rake release
34
- fi
35
-
36
- echo 'Building artifact'
37
- $BUNDLE rake killbill:package
38
-
39
- ARTIFACT="$PWD/pkg/killbill-paypal-express-$VERSION.tar.gz"
40
- echo "Pushing $ARTIFACT to Maven Central"
41
-
42
- if [[ -z "$NO_RELEASE" ]]; then
43
- GOAL=gpg:sign-and-deploy-file
44
- REPOSITORY_ID=ossrh-releases
45
- URL=https://oss.sonatype.org/service/local/staging/deploy/maven2/
46
- else
47
- GOAL=deploy:deploy-file
48
- REPOSITORY_ID=sonatype-nexus-snapshots
49
- URL=https://oss.sonatype.org/content/repositories/snapshots/
50
- VERSION="$VERSION-SNAPSHOT"
51
- fi
52
-
53
- $MVN $GOAL \
54
- -DgroupId=org.kill-bill.billing.plugin.ruby \
55
- -DartifactId=paypal-express-plugin \
56
- -Dversion=$VERSION \
57
- -Dpackaging=tar.gz \
58
- -DrepositoryId=$REPOSITORY_ID \
59
- -Durl=$URL \
60
- -Dfile=$ARTIFACT \
61
- -DpomFile=pom.xml
@@ -1,54 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ns="urn:ebay:api:PayPalAPI" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
- <SOAP-ENV:Header>
4
- <Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"/>
5
- <RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType">
6
- <Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType">
7
- <Username xsi:type="xs:string"/>
8
- <Password xsi:type="xs:string"/>
9
- <Signature xsi:type="xs:string"/>
10
- <Subject xsi:type="xs:string"/>
11
- </Credentials>
12
- </RequesterCredentials>
13
- </SOAP-ENV:Header>
14
- <SOAP-ENV:Body id="_0">
15
- <DoExpressCheckoutPaymentResponse xmlns="urn:ebay:api:PayPalAPI">
16
- <Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2016-11-23T01:50:51Z</Timestamp>
17
- <Ack xmlns="urn:ebay:apis:eBLBaseComponents">SuccessWithWarning</Ack>
18
- <CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">cfce8071e839</CorrelationID>
19
- <Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType">
20
- <ShortMessage xsi:type="xs:string">Duplicate Request</ShortMessage>
21
- <LongMessage xsi:type="xs:string">A successful transaction has already been completed for this token.</LongMessage>
22
- <ErrorCode xsi:type="xs:token">11607</ErrorCode>
23
- <SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Warning</SeverityCode>
24
- </Errors>
25
- <Version xmlns="urn:ebay:apis:eBLBaseComponents">124</Version>
26
- <Build xmlns="urn:ebay:apis:eBLBaseComponents">000000</Build>
27
- <DoExpressCheckoutPaymentResponseDetails xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:DoExpressCheckoutPaymentResponseDetailsType">
28
- <Token xsi:type="ebl:ExpressCheckoutTokenType">EC-MY_TOKEN</Token>
29
- <PaymentInfo xsi:type="ebl:PaymentInfoType">
30
- <TransactionID>3K289148GS508731G</TransactionID>
31
- <ParentTransactionID xsi:type="ebl:TransactionId"/>
32
- <ReceiptID/>
33
- <TransactionType xsi:type="ebl:PaymentTransactionCodeType">express-checkout</TransactionType>
34
- <PaymentType xsi:type="ebl:PaymentCodeType">instant</PaymentType>
35
- <PaymentDate xsi:type="xs:dateTime">2016-11-23T01:50:43Z</PaymentDate>
36
- <GrossAmount currencyID="USD" xsi:type="cc:BasicAmountType">100.00</GrossAmount>
37
- <FeeAmount currencyID="USD" xsi:type="cc:BasicAmountType">3.20</FeeAmount>
38
- <TaxAmount currencyID="USD" xsi:type="cc:BasicAmountType">0.00</TaxAmount>
39
- <ExchangeRate xsi:type="xs:string"/>
40
- <PaymentStatus xsi:type="ebl:PaymentStatusCodeType">Refunded</PaymentStatus>
41
- <PendingReason xsi:type="ebl:PendingStatusCodeType">none</PendingReason>
42
- <ReasonCode xsi:type="ebl:ReversalReasonCodeType">none</ReasonCode>
43
- <ProtectionEligibility xsi:type="xs:string">Eligible</ProtectionEligibility>
44
- <ProtectionEligibilityType xsi:type="xs:string">ItemNotReceivedEligible,UnauthorizedPaymentEligible</ProtectionEligibilityType>
45
- <SellerDetails xsi:type="ebl:SellerDetailsType">
46
- <SecureMerchantAccountID xsi:type="ebl:UserIDType">MY_MERCHANT_ID</SecureMerchantAccountID>
47
- </SellerDetails>
48
- </PaymentInfo>
49
- <SuccessPageRedirectRequested xsi:type="xs:string">false</SuccessPageRedirectRequested>
50
- <CoupledPaymentInfo xsi:type="ebl:CoupledPaymentInfoType"/>
51
- </DoExpressCheckoutPaymentResponseDetails>
52
- </DoExpressCheckoutPaymentResponse>
53
- </SOAP-ENV:Body>
54
- </SOAP-ENV:Envelope>
@@ -1,102 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ns="urn:ebay:api:PayPalAPI" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
- <SOAP-ENV:Header>
4
- <Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"/>
5
- <RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType">
6
- <Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType">
7
- <Username xsi:type="xs:string"/>
8
- <Password xsi:type="xs:string"/>
9
- <Signature xsi:type="xs:string"/>
10
- <Subject xsi:type="xs:string"/>
11
- </Credentials>
12
- </RequesterCredentials>
13
- </SOAP-ENV:Header>
14
- <SOAP-ENV:Body id="_0">
15
- <GetExpressCheckoutDetailsResponse xmlns="urn:ebay:api:PayPalAPI">
16
- <Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2016-11-23T01:50:39Z</Timestamp>
17
- <Ack xmlns="urn:ebay:apis:eBLBaseComponents">Success</Ack>
18
- <CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">bb9e0ee3a9d12</CorrelationID>
19
- <Version xmlns="urn:ebay:apis:eBLBaseComponents">124</Version>
20
- <Build xmlns="urn:ebay:apis:eBLBaseComponents">000000</Build>
21
- <GetExpressCheckoutDetailsResponseDetails xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:GetExpressCheckoutDetailsResponseDetailsType">
22
- <Token xsi:type="ebl:ExpressCheckoutTokenType">EC-MY_TOKEN</Token>
23
- <PayerInfo xsi:type="ebl:PayerInfoType">
24
- <Payer xsi:type="ebl:EmailAddressType">test@example.com</Payer>
25
- <PayerID xsi:type="ebl:UserIDType">MY_PAYER_ID</PayerID>
26
- <PayerStatus xsi:type="ebl:PayPalUserStatusCodeType">verified</PayerStatus>
27
- <PayerName xsi:type="ebl:PersonNameType">
28
- <Salutation xmlns="urn:ebay:apis:eBLBaseComponents"/>
29
- <FirstName xmlns="urn:ebay:apis:eBLBaseComponents">test</FirstName>
30
- <MiddleName xmlns="urn:ebay:apis:eBLBaseComponents"/>
31
- <LastName xmlns="urn:ebay:apis:eBLBaseComponents">buyer</LastName>
32
- <Suffix xmlns="urn:ebay:apis:eBLBaseComponents"/>
33
- </PayerName>
34
- <PayerCountry xsi:type="ebl:CountryCodeType">US</PayerCountry>
35
- <PayerBusiness xsi:type="xs:string"/>
36
- <Address xsi:type="ebl:AddressType">
37
- <Name xsi:type="xs:string">test buyer</Name>
38
- <Street1 xsi:type="xs:string">1 Main St</Street1>
39
- <Street2 xsi:type="xs:string"/>
40
- <CityName xsi:type="xs:string">San Jose</CityName>
41
- <StateOrProvince xsi:type="xs:string">CA</StateOrProvince>
42
- <Country xsi:type="ebl:CountryCodeType">US</Country>
43
- <CountryName>United States</CountryName>
44
- <PostalCode xsi:type="xs:string">95131</PostalCode>
45
- <AddressOwner xsi:type="ebl:AddressOwnerCodeType">PayPal</AddressOwner>
46
- <AddressStatus xsi:type="ebl:AddressStatusCodeType">Confirmed</AddressStatus>
47
- </Address>
48
- </PayerInfo>
49
- <InvoiceID xsi:type="xs:string">1234</InvoiceID>
50
- <BillingAgreementAcceptedStatus>false</BillingAgreementAcceptedStatus>
51
- <PaymentDetails xsi:type="ebl:PaymentDetailsType">
52
- <OrderTotal currencyID="USD" xsi:type="cc:BasicAmountType">100.00</OrderTotal>
53
- <ItemTotal currencyID="USD" xsi:type="cc:BasicAmountType">100.00</ItemTotal>
54
- <ShippingTotal currencyID="USD" xsi:type="cc:BasicAmountType">0.00</ShippingTotal>
55
- <HandlingTotal currencyID="USD" xsi:type="cc:BasicAmountType">0.00</HandlingTotal>
56
- <TaxTotal currencyID="USD" xsi:type="cc:BasicAmountType">0.00</TaxTotal>
57
- <InvoiceID xsi:type="xs:string">1234</InvoiceID>
58
- <ShipToAddress xsi:type="ebl:AddressType">
59
- <Name xsi:type="xs:string">test buyer</Name>
60
- <Street1 xsi:type="xs:string">1 Main St</Street1>
61
- <Street2 xsi:type="xs:string"/>
62
- <CityName xsi:type="xs:string">San Jose</CityName>
63
- <StateOrProvince xsi:type="xs:string">CA</StateOrProvince>
64
- <Country xsi:type="ebl:CountryCodeType">US</Country>
65
- <CountryName>United States</CountryName>
66
- <Phone xsi:type="xs:string"/>
67
- <PostalCode xsi:type="xs:string">95131</PostalCode>
68
- <AddressID xsi:type="xs:string"/>
69
- <AddressOwner xsi:type="ebl:AddressOwnerCodeType">PayPal</AddressOwner>
70
- <ExternalAddressID xsi:type="xs:string"/>
71
- <AddressStatus xsi:type="ebl:AddressStatusCodeType">Confirmed</AddressStatus>
72
- <AddressNormalizationStatus xsi:type="ebl:AddressNormalizationStatusCodeType">None</AddressNormalizationStatus>
73
- </ShipToAddress>
74
- <InsuranceTotal currencyID="USD" xsi:type="cc:BasicAmountType">0.00</InsuranceTotal>
75
- <ShippingDiscount currencyID="USD" xsi:type="cc:BasicAmountType">0.00</ShippingDiscount>
76
- <InsuranceOptionOffered xsi:type="xs:string">false</InsuranceOptionOffered>
77
- <SellerDetails xsi:type="ebl:SellerDetailsType">
78
- <PayPalAccountID xsi:type="xs:string">test-facilitator@example.com</PayPalAccountID>
79
- </SellerDetails>
80
- <PaymentRequestID xsi:type="xs:string"/>
81
- <OrderURL xsi:type="xs:string"/>
82
- <SoftDescriptor xsi:type="xs:string"/>
83
- </PaymentDetails>
84
- <CheckoutStatus xsi:type="xs:string">PaymentActionNotInitiated</CheckoutStatus>
85
- <PaymentRequestInfo xsi:type="ebl:PaymentRequestInfoType"/>
86
- <PaymentInfo xsi:type="ebl:PaymentInfoType">
87
- <TransactionID/>
88
- <ParentTransactionID xsi:type="ebl:TransactionId"/>
89
- <ReceiptID/>
90
- <TransactionType xsi:type="ebl:PaymentTransactionCodeType">none</TransactionType>
91
- <PaymentType xsi:type="ebl:PaymentCodeType">none</PaymentType>
92
- <ExchangeRate xsi:type="xs:string"/>
93
- <PaymentStatus xsi:type="ebl:PaymentStatusCodeType">None</PaymentStatus>
94
- <PendingReason xsi:type="ebl:PendingStatusCodeType">none</PendingReason>
95
- <ReasonCode xsi:type="ebl:ReversalReasonCodeType">none</ReasonCode>
96
- <SellerDetails xsi:type="ebl:SellerDetailsType"/>
97
- </PaymentInfo>
98
- <CartChangeTolerance xsi:type="xs:string"/>
99
- </GetExpressCheckoutDetailsResponseDetails>
100
- </GetExpressCheckoutDetailsResponse>
101
- </SOAP-ENV:Body>
102
- </SOAP-ENV:Envelope>