Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>taking a look at your call, you're indeed specifying a primary receiver. however, for chained payment, you will have to specify a secondary receiver.</p> <p>I just ran a quick test with the following paramters:</p> <pre><code>actionType = PAY requestEnvelope.errorLanguage = en_US cancelUrl = http://abortURL returnUrl = http://returnURL ipnNotificationUrl = http://ipnURL applicationId = Test memo = Test currencyCode = USD receiverList.receiver(0).email = test@test.com receiverList.receiver(0).amount = 5.00 receiverList.receiver(0).primary = true feesPayer = PRIMARYRECEIVER </code></pre> <p>and got the result:</p> <pre><code>responseEnvelope.timestamp=2013-11-20T05:41:56.751-08:00 responseEnvelope.ack=Failure responseEnvelope.correlationId=b61a6b31ea2ab responseEnvelope.build=7935900 error(0).errorId=580023 error(0).domain=PLATFORM error(0).subdomain=Application error(0).severity=Error error(0).category=Application error(0).message=The fee payer PRIMARYRECEIVER can only be used if a primary receiver is specified error(0).parameter(0)=feesPayer error(0).parameter(1)=PRIMARYRECEIVER </code></pre> <p>However, once I change the FeesPayer to EACHRECEIVER, I get the error message that is causing the chained payment to fail in the first place:</p> <pre><code>responseEnvelope.timestamp=2013-11-20T05:48:09.202-08:00 responseEnvelope.ack=Failure responseEnvelope.correlationId=987210ec4d03a responseEnvelope.build=7935900 error(0).errorId=579008 error(0).domain=PLATFORM error(0).subdomain=Application error(0).severity=Error error(0).category=Application error(0).message=You must specify only one primary receiver and at least one secondary receiver error(0).parameter(0)=1 </code></pre> <p>I hope this helps.</p> <p>Please refer to the PayPal Adaptive Payments SDK available under <a href="http://paypal.github.io/#adaptive-payments" rel="nofollow">http://paypal.github.io/#adaptive-payments</a> for some additional examples and inspiration</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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