nyc-ruby-meetup / remit Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mrkurt/remit
An API for using the Amazon Flexible Payment Service (FPS).
Home Page: http://rubyforge.org/projects/remit/
License: MIT License
This project forked from mrkurt/remit
An API for using the Amazon Flexible Payment Service (FPS).
Home Page: http://rubyforge.org/projects/remit/
License: MIT License
the raw response has the fee info, but it's not available from the accessor method
(rdb:1) @result.raw
"<?xml version=\"1.0\"?>\n<GetTransactionResponse xmlns=\"http://fps.amazonaws.com/doc/2008-09-17/\"><GetTransactionResult><Transaction><TransactionId>################</TransactionId><CallerReference>2201-2</CallerReference><DateReceived>2010-11-30T17:31:14.568-08:00</DateReceived><DateCompleted>2010-11-30T17:31:15.496-08:00</DateCompleted><TransactionAmount><CurrencyCode>USD</CurrencyCode><Value>0.500000</Value></TransactionAmount><FPSFees><CurrencyCode>USD</CurrencyCode><Value>0.075000</Value></FPSFees><FPSFeesPaidBy>Recipient</FPSFeesPaidBy><SenderTokenId>#########################################</SenderTokenId><FPSOperation>Pay</FPSOperation><PaymentMethod>CC</PaymentMethod><TransactionStatus>Success</TransactionStatus><StatusCode>Success</StatusCode><StatusMessage>The transaction was successful and the payment instrument was charged.</StatusMessage><SenderName>#######</SenderName><SenderEmail>##########</SenderEmail><CallerName>John #######</CallerName><RecipientName>John #########</RecipientName><RecipientEmail>########</RecipientEmail><StatusHistory><Date>2010-11-30T17:31:14.715-08:00</Date><TransactionStatus>Pending</TransactionStatus><StatusCode>PendingNetworkResponse</StatusCode></StatusHistory><StatusHistory><Date>2010-11-30T17:31:15.496-08:00</Date><TransactionStatus>Success</TransactionStatus><StatusCode>Success</StatusCode></StatusHistory></Transaction></GetTransactionResult><ResponseMetadata><RequestId>############</RequestId></ResponseMetadata></GetTransactionResponse>"
(rdb:1) @result.transaction.fees.value
nil
Hi -- i ran rspec and got a bunch of failures -- could you throw in a few lines in the readme explaining how to get specs running?
when doing bundle update
just now, this happened:
โ bundle update
Updating git://github.com/nyc-ruby-meetup/remit.git
Fetching source index for http://rubygems.org/
Could not find gem 'remit (~> 0.1.18, runtime)' in git://github.com/nyc-ruby-meetup/remit.git (at master).
Source contains 'remit' at: 0.2.3
bundle update 26.24s user 0.64s system 98% cpu 27.391 total
0.1.18 is in my Gemfile.
if i change that to 0.2.3, bundler doesn't see any updates (so for some reason it had already pulled that down?)
didn't look any deeper, just throwing it your way in case you know what's up.
install_caller_response = api.install_payment_instruction(caller_request)
request = Remit::Pay::Request.new(
:caller_token_id => "#{install_caller_response.token_id}",
:recipient_token_id => "#{@token.recipient_tokenid}",
:sender_token_id => params[:tokenID],
:transaction_amount => Remit::RequestTypes::Amount.new(
:amount => "#{@stream_price}",
:currency_code => "USD"
),
Here install_caller_response.token_id is nil..and so function not working..is this a bug..or
.
Pls reply fast..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.