Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you are doing SetExpressCheckout and GetExpressCheckout, you can use the Custom field. I am using the new PayPal X.comm SDK Express Checkout in Php, so I will give my example from that. </p> <p>In setting up the request object to pass to SetExpressCheckout, you can put your parameters in the Custom field.</p> <pre><code>$setECReqDetails-&gt;Custom = $billingFreq . "SPACE" . $billingPeriod; </code></pre> <p>When you return from PayPal, you can get these parameters back by doing a call to GetExpressCheckoutDetails, and getting the parameters from the response object's Custom field.</p> <pre><code>$getECResponse = $paypalService-&gt;GetExpressCheckoutDetails($getExpressCheckoutReq); $billingInfo = explode("SPACE",$getECResponse-&gt;GetExpressCheckoutDetailsResponseDetails-&gt;Custom); $billingFreq = $billingInfo[0]; $billingPeriod = $billingInfo[1]; </code></pre> <p>Notice the use of the word "SPACE". This could be any word, but it is used as a divider. This way you can pass as many parameters as you want by putting "SPACE" between them. </p> <p>If you want to see the full code for this, you can download X.comm SDK, express checkout, Php, from here: <a href="https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index" rel="nofollow">https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index</a> and goto merchant-sdk-dev-2.2.98/samples/ExpressCheckout/SetExpressCheckout.php and also GetExpressCheckout.php to see the code. They don't actually make use of Custom in the sample code, but you can see where to add the code.</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. This table or related slice is empty.
    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