Comments (5)
the response body seems to have changed?
i get it to work by calling response.pay_key
from active_paypal_adaptive_payment.
try doing a print of the response body and you should see it in there for debugging
from active_paypal_adaptive_payment.
What does response.request return?
Also have a look at response.request and response.request.message
from active_paypal_adaptive_payment.
response.request has this:
{"PayRequest"=>{"requestEnvelope"=>{"detailLevel"=>"ReturnAll", "errorLanguage"=>"en_US"}, "actionType"=>"PAY", "cancelUrl"=>"http://REMOVED.com/cancel?order=6426480503", "returnUrl"=>"http://REMOVED.com/done?order=6426480503", "ipnNotificationUrl"=>"http://REMOVED.com/ipn?order=6426480503", "currencyCode"=>"USD", "receiverList"=>{"receiver"=>[{"email"=>"[email protected]", "amount"=>"1.76", "primary"=>"true"}, {"email"=>"[email protected]", "amount"=>"0.21", "primary"=>"false"}, {"email"=>"[email protected]", "amount"=>"0.1", "primary"=>"false"}]}, "reverseAllParallelPaymentsOnError"=>"false"}}
response.request.message:
NoMethodError Exception: undefined method `message' for #Hash:0x007f9e7e5603c8
from active_paypal_adaptive_payment.
I thought the error message was in response.request, you actually get an array of error messages from response.error
You can get the message by accessing
response.error[0].message
from active_paypal_adaptive_payment.
Related Issues (20)
- What parameters does paypal send back when it redirects to my site? HOT 4
- Not receiving a response from the IPN when ipn_notification_url is called HOT 3
- :start_time and :end_time for preapproved payments do not include GMT offset HOT 2
- This transaction is invalid. Please return to the recipient's website and try again. HOT 5
- Inconsistent naming of IPN keys HOT 3
- its possible send ClientDetails Fields? HOT 3
- payment is completed without the sender logging in to paypal.com HOT 1
- No ipn field provided for preapprove_payment HOT 1
- Refund method NO_API_ACCESS_TO_RECEIVER HOT 4
- How to send a single payment to a single user? HOT 1
- How to send an implicit approval payment?
- Setting the item description for the Payee HOT 2
- Embedded payment not working?
- Chained payments not working?
- how i implement this in rails app
- item description, support for Embedded flow?
- Your tutorial video link does not work
- Set payments as "Family and friends"
- Adaptive Payment Refund functionality Issue The refund's Error receiver [email protected] wasn't part of the payment
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 active_paypal_adaptive_payment.