miranda
unread,Jul 18, 2009, 3:11:58 AM7/18/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Remit
Hi,
I'm trying to use the pay method in my application and I get the
following issue.It would be great is someone could point me to some
reference or let me know what is wrong
request = Remit::Pay::Request.new(
:caller_token_id =>
@preferences.amazon_fps_caller_token_id,
:recipient_token_id =>
@order.store.fps_token,
:sender_token_id =>
@order.token_id,
:transaction_amount =>
Remit::RequestTypes::Amount.new(
:amount
=> 123,
:currency_code
=> "USD"
),
:charge_fee_to => "Recipient",
:caller_reference =>
Time.now.to_i.to_s,
:temporary_decline_policy =>
Remit::RequestTypes::TemporaryDeclinePolicy.new(
:temporary_decline_policy_type
=> "IMPLICIT_RETRY"
)
)
@transaction_response = @remit.pay(request)
The above is the code which I tried to use for the payment method. But
unfortunately
I get an error saying Relax:Missing Paramter.