Pay method issues

1 view
Skip to first unread message

miranda

unread,
Jul 18, 2009, 3:11:58 AM7/18/09
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.
Reply all
Reply to author
Forward
0 new messages