+ Reply to Thread
Results 1 to 3 of 3

Thread: Integration steps

  1. #1

    Integration steps

    Instructions for DAP upsell tree plugin for paypal standard :

    The paypal standard upsell tree plugin has it's own button generator.
    You will find it in dap payment processing -> Generate Buy Buttons page towards the bottom of the page.

    Documentation:
    http://www.digitalaccesspass.com/doc...ypal-standard/

    Here's the steps:

    1) Generate the button for your primary / main product by clicking on DAP admin -> payment processing -> generate paypal button -> Generate Paypal Standard 1-Click Primary Button.

    Say this is the button code you get:

    <form name="generate_paypal" method="post" action="/dap/PaypalSetExpressCheckout.php">
    <input type="hidden" name="item_name" value="Example Subscription Product"/>
    <input type="hidden" name="description" value="This is a dummy Subscription Product with a monthly subscription - payments every 30 days." />
    <input type="hidden" name="amount" value="10.00" />
    <input type="hidden" name="trial_amount" value="0.00" />
    <input type="hidden" name="total_occurrences" value="9999" />
    <input type="hidden" name="is_recurring" value="Y" />
    <input type="hidden" name="recurring_cycle_1" value="365" />
    <input type="hidden" name="recurring_cycle_2" value="365" />
    <input type="hidden" name="recurring_cycle_3" value="365" />
    <input type="hidden" name="payment_succ_page" value="https://YOURSITE.com/dap/continue.php?url=/dap/upsell1-paypalstandard-sample.html" />
    <input type="hidden" name="payment_err_page" value="https://YOURSITE.com/dap/paymentError.php" />
    <input type="hidden" name="payment_cancel_page" value="https://YOURSITE.com/dap/cancel.php" />
    <input type="hidden" name="payment_gateway" value="paypal" />
    <input type="hidden" name="is_submitted" value="Y" />
    <input type="image" src="/dap/images/btn_xpressCheckout.gif" align="left" width="200" height="50" style="margin-right:7px;" value="Submit" alt="Submit">

    Look at the payment_succ_page tag in the generated button code and have it point to your upsell page.

    Say your upsell page is called upsell1-paypalstandard-sample.html and it's under the dap folder.

    2) Now you need to add the 1-click upsell button you generate for the upsell product and put that on the upsell page.

    Generate the button for your upsell product by clicking on DAP admin -> payment processing -> generate paypal button -> Generate Paypal Standard 1-Click Upsell Button.

    Say this is the button code you get:

    <form name="generate_paypal" method="post" action="/dap/PaypalAddToCart.php">
    <input type="hidden" name="item_name" value="Example Subscription Product"/>
    <input type="hidden" name="description" value="This is a dummy Subscription Product with a monthly subscription - payments every 30 days." />
    <input type="hidden" name="amount" value="10.00" />
    <input type="hidden" name="trial_amount" value="0.00" />
    <input type="hidden" name="total_occurrences" value="9999" />
    <input type="hidden" name="is_recurring" value="Y" />
    <input type="hidden" name="recurring_cycle_1" value="365" />
    <input type="hidden" name="recurring_cycle_2" value="365" />
    <input type="hidden" name="recurring_cycle_3" value="365" />
    <input type="hidden" name="payment_succ_page" value="/dap/PaypalCheckoutConfirm.php" />
    <input type="hidden" name="payment_gateway" value="paypal" />
    <input type="hidden" name="is_submitted" value="Y" />
    <input type="submit" value="AddToCart" />
    </form>


    Now notice the payment_succ_page in the generated button code. You will see its pointing to /dap/PaypalCheckoutConfirm.php. If this is the last upsell, then leave it pointed to /dap/PaypalCheckoutConfirm.php.

    If its not the last upsell, then update it to point to the url of the next upsell page. That's it.

    PLS NOTE:

    Shared SSL will not work. Your whole site does NOT need to be on SSL. Just the page where you have the dap buttons need to be on https.

  2. #2
    Junior Member
    Join Date
    Apr 2013
    Posts
    23

    Re: Integration steps

    Can I use the same logic with continue.php with the Paypal PRO upsell tree? I don't want users to see the 'bonus' page html that the upsell buttons are located on...
    AND
    Can I still not use continue.php with a WP page?
    Last edited by DaisyPeel; 05-02-2013 at 07:24 PM.

  3. #3
    Administrator
    Join Date
    Nov 2010
    Posts
    525

    Re: Integration steps

    No, continue.php is only for html pages. Won't work with WP page.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts