Note that there are some explanatory texts on larger screens.

plurals
  1. PONot getting micropayments fees on all Paypal transactions
    text
    copied!<p>We use Paypal as one of the payment options on our site where we sell digital goods. Integration is via Shopify's ActiveMerchant gem.</p> <p>There are 2 payment paths (per Paypal reqs, I believe): one is "pay by credit card" and the other "pay with Paypal" although they end up at the same place on Paypal, I believe, just with different forms showing (e.g. defaulting to credit card vs. defaulting to Paypal login).</p> <p>In terms of ActiveMerchant integration, the call is identical for the 2 paths with the difference of one parameter, <code>allow_guest_checkout</code>:</p> <pre><code> response = EXPRESS_GATEWAY.setup_purchase(order.total * 100.0, :ip =&gt; request.remote_ip, :return_url =&gt; checkout_paypal_ec_return_url, :cancel_return_url =&gt; checkout_url, :items =&gt; collect_items_for_paypal(order), :order_id =&gt; order.id, :allow_guest_checkout =&gt; params[:cc]=='true', :max_amount =&gt; order.total * 100.0, :req_confirm_shipping =&gt; 0, :no_shipping =&gt; 1 ) </code></pre> <p>What is happening is that if a user purchases with <code>allow_guest_checkout</code> as true, we correctly get micropayments fees, but otherwise the transaction fees are Paypal's defaults, which are ridiculous for micropayments.</p> <p>Now I know that it's possible that someone could go in via the guest checkout path but ultimately log in, but I'm going to assume people who click on the credit card icon actually want to purchase via credit card, not Paypal (as a side question, as far as I can tell when I look at transactions in the Paypal admin interface, there's no way to tell if a payment was made via Paypal or credit card. Is that really the case?)</p> <p>Anyway--anyone have any suggestions on this before I go digging further?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload