title: Paypal Transaction does not log on paypal account
body: <p>I am new for paypal payment process.
  I have used 'paypal-sdk-merchant' gem for payment.</p>
  
  <p>for sandbox account:</p>
  
  <pre><code>when I have completed payment via credit card then I am able to see my transaction in receiver account , but amount do no deduct from buyer account.
  when I have paid via paypal account then I am able to see my transaction in receiver account as well as buyer account.
  </code></pre>
  
  <p>my code for payment via paypal account: </p>
  
  <pre><code>@set_express_checkout = @api.build_set_express_checkout({
    :SetExpressCheckoutRequestDetails =&gt; {
      :ReturnURL =&gt; url_for(:action =&gt; 'success'),
      :CancelURL =&gt; url_for(:action =&gt; 'payment_methods'),
      :PaymentDetails =&gt; [{
        :OrderTotal =&gt; {
          :currencyID =&gt; "USD",
          :value =&gt; params[:payment][:amount] },
        :ItemTotal =&gt; {
          :currencyID =&gt; "USD",
          :value =&gt; params[:payment][:amount] },
        :ShippingTotal =&gt; {
          :currencyID =&gt; "USD",
          :value =&gt; "0.0" },
        :TaxTotal =&gt; {
          :currencyID =&gt; "USD",
          :value =&gt; "0" },
        :NotifyURL =&gt; "",
         :PaymentDetailsItem =&gt; [{
          :Name =&gt; params[:payment][:payment_for],
          :Quantity =&gt; 1,
          :Amount =&gt; {
            :currencyID =&gt; "USD",
            :value =&gt; params[:payment][:amount] } }],
            :PaymentAction =&gt; "Sale" }] } })
  
    # Make API call &amp; get response
    @set_express_checkout_response = @api.set_express_checkout(@set_express_checkout)
    # Access Response
    if @set_express_checkout_response.success?
      @set_express_checkout_response.Token
      session[:payment_params] = params[:payment]
      redirect_to @api.express_checkout_url(@set_express_checkout_response) and return
    else
      @set_express_checkout_response.Errors
    end
  </code></pre>
  
  <p>If you did not get it, then I can elaborate more.
  please help me, to get my transactions in paypal account.</p>