Results 1 to 2 of 2

Thread: payment return url

  1. #1
    Thread Starter
    Expired Customer alainthoma's Avatar
    Join Date
    Jun 2019
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    payment return url

    Hi,
    at this moment, i try do integrate a payment gateway for my site. And i need some help.

    i will send some data to an external javascript, i do it like this:

    Code:
    <div="data_form">
       <?php
       $refno = $order->get_id();
       $amount_total = $order->get_total() * 100;
       $succes_url = ???
       ?>
      
       <script src="EXTERNAL SCRIPT HERE"></script>
       <form id="paymentForm"
          data-refno="<?php echo "Bestellnummer:  " .$refno; ?>"
          data-amount="<?php echo $amount_total; ?>"
          data-success-url="<?php echo $success_url; ?>"
       </form>
    </div>
    As template i use the test-gateway / developer-gateway. All works well, but how i can get the "$success_url" (url where users are redirected after payment)?
    I try to look at some other payment-plugins i buy and also the integrated paypal gateway, but i dont understand (till now) the way it works with de rederict.

    I do programming as a hobby, so my knowledge is limitet, please help me .

  2. #2
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,062 Times in 1,000 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Return URL after PayPal Payment
    By graemej in forum Report ClassiPress Bugs
    Replies: 23
    Last Post: April 5th, 2017, 09:23 AM
  2. Samcy payment gateway return page message
    By tharina in forum Help Using ClassiPress
    Replies: 13
    Last Post: June 30th, 2014, 03:54 PM
  3. payment return.
    By pulla in forum JobRoller General Discussion
    Replies: 1
    Last Post: January 1st, 2013, 09:44 AM
  4. payment return.
    By pulla in forum Help Using JobRoller
    Replies: 1
    Last Post: January 1st, 2013, 09:44 AM
  5. Return URL when payment server response=OK
    By knientje in forum ClassiPress General Discussion
    Replies: 0
    Last Post: July 20th, 2010, 08:33 AM