Comments (5)
Ah, I'm missing these parameters to parse, and it seems those information should not be ignored.
It should be parsed in Paypal::NVP::Response
line 81-90.
Can you give me a raw sample response from PayPal?
(replacing your personal info to something like "[email protected]" etc)
Then I can make changes to parse them.
ps.
Of course, pull request is also welcome ;)
from paypal-express.
Here's the attributes being passed to Paypal::NVP::Response#initialize
in lib/paypal/nvp/response.rb:25
:
{:PROFILEID=>"I-XXXXXXXXG",
:STATUS=>"Active",
:AUTOBILLOUTAMT=>"NoAutoBill",
:DESC=>"Plan Description",
:MAXFAILEDPAYMENTS=>"0",
:SUBSCRIBERNAME=>"John Citizen",
:PROFILESTARTDATE=>"2011-10-26T13:00:00Z",
:NEXTBILLINGDATE=>"2011-12-27T10:00:00Z",
:NUMCYCLESCOMPLETED=>"2",
:NUMCYCLESREMAINING=>"18446744073709551614",
:OUTSTANDINGBALANCE=>"0.00",
:FAILEDPAYMENTCOUNT=>"0",
:LASTPAYMENTDATE=>"2011-11-27T12:18:20Z",
:LASTPAYMENTAMT=>"17.00",
:TRIALAMTPAID=>"0.00",
:REGULARAMTPAID=>"34.00",
:AGGREGATEAMT=>"34.00",
:AGGREGATEOPTIONALAMT=>"0.00",
:FINALPAYMENTDUEDATE=>"1970-01-01T00:00:00Z",
:TIMESTAMP=>"2011-12-12T06:01:22Z",
:CORRELATIONID=>"d2xxxxxxx56",
:ACK=>"Success",
:VERSION=>"78.0",
:BUILD=>"2230381",
:BILLINGPERIOD=>"Month",
:BILLINGFREQUENCY=>"1",
:TOTALBILLINGCYCLES=>"0",
:CURRENCYCODE=>"USD",
:AMT=>"17.00",
:SHIPPINGAMT=>"0.00",
:TAXAMT=>"0.00",
:REGULARBILLINGPERIOD=>"Month",
:REGULARBILLINGFREQUENCY=>"1",
:REGULARTOTALBILLINGCYCLES=>"0",
:REGULARCURRENCYCODE=>"USD",
:REGULARAMT=>"17.00",
:REGULARSHIPPINGAMT=>"0.00",
:REGULARTAXAMT=>"0.00"}
I don't have time to look into it yet, but I'm working around it by disabling Paypal.log
for the moment.
If you don't get around to it, I'll try to do so in a few weeks.
Cheers!
Paul
from paypal-express.
OK, now master branch has several changes for this.
Please try it when you have time :)
from paypal-express.
Nice - that's working much better, thanks!
from paypal-express.
OK, I just released paypal-express v0.4.2 with those changes.
Thanks!
from paypal-express.
Related Issues (20)
- UpdateRecurringPaymentsProfile API Operation
- Recurring Payment: Dont know where to specify IPN
- Dynamic notify_url for recurring payments
- is it still maintained? HOT 2
- How to query for "TransactionSearch" HOT 1
- Ability to send shipping address details to PayPal HOT 3
- Add Changelog HOT 1
- Checkout multiple items HOT 1
- Shipping addresses not being returned HOT 2
- Paypal Api Version HOT 3
- Instant Payment not Redirecting HOT 1
- Recurring payment does not accept currency code HOT 1
- Error when trying to change from sandbox mode. HOT 1
- Coding against non-payments
- Phone Number Ignored
- Getting 'payment_request' var to receive info about payment HOT 1
- Add "activation" in the param of recurring payment init, so it will charge 1 immediately upon complete. HOT 2
- transaction_id of recurring payment
- Example not working HOT 1
- Getting 'PayPal API Error: 'Version error'' HOT 24
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paypal-express.