Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question script for moneybookers

    hi,
    i am new in this field,
    so i need ur guide.
    i develop a system that integrate with payment gateway (moneybookers)
    i successfully pass parameters from my site to moneybookers,
    so customer already can select the moneybooker as the payment gateway and they will be send to moneybookers page.
    the problem is, after they finish doing the payment, and moneybookers pass back to my site, i cannot catch the value and parameter that has been send to my site.
    its blank!....
    try all $_post and $_get
    thanks for any help.

  • #2
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    what is it sending and what method does it use? what have you tried? Can we see some code?
    You can not say you know how to do something, until you can teach it to someone else.

  • #3
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,174
    Thanks
    19
    Thanked 66 Times in 65 Posts
    if you've tried looking at post and get, its possible that moneybookers isnt sending you anything back. Have you checked the documentation, perhaps you need to send it some additional parameters to get anything other than a redirect back

  • #4
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    here is how i pass the value to moneybookers, which is success....

    $parse_out0.="<form action='https://www.moneybookers.com/app/payment.pl' method='POST' target='_blank'>\n";

    $parse_out0.="<input type='hidden' name='pay_to_email' value='test1@domain.com'>\n";
    $parse_out0.="<input type='hidden' name='transaction_id' value='".$sid."'>\n";
    $parse_out0.="<input type='hidden' name='return_url' value='".$http_web."/moneybooker_success.php?id='".$sid."'>\n";
    $parse_out0.="<input type='hidden' name='cancel_url' value='".$http_web."/step_one.php'>\n";
    $parse_out0.="<input type='hidden' name='status_url' value='mailto:test1@domain.com'>\n";
    $parse_out0.="<input type='hidden' name='language' value='EN'>\n";
    $parse_out0.="<input type='hidden' name='merchant_fields' value='customer_id,session_id'>\n";
    $parse_out0.="<input type='hidden' name='customer_id' value='".$uid."'>\n";
    $parse_out0.="<input type='hidden' name='session_id' value='".$sid."'>\n";
    $parse_out0.="<input type='hidden' name='pay_from_email' value='".$email."'>\n";
    $parse_out0.="<input type='hidden' name='amount' value='".$total_due_today."'>\n";
    $parse_out0.="<input type='hidden' name='currency' value='USD'>\n";
    $parse_out0.="<input type='hidden' name='firstname' value='".$first_name."'>\n";
    $parse_out0.="<input type='hidden' name='lastname' value='".$last_name."'>\n";
    $parse_out0.="<input type='hidden' name='postal_code' value='".$zip_code."'>\n";
    $parse_out0.="<input type='hidden' name='city' value='".$city."'>\n";
    $parse_out0.="<input type='hidden' name='country' value='".$country."'>\n";
    $parse_out0.="<input type='hidden' name='address' value='".$street_address_1.",".$street_address_2."'>\n";
    $parse_out0.="<input type='hidden' name='detail1_description' value='Product Name :'>\n";
    $parse_out0.="<input type='hidden' name='detail1_text' value='".$package_name." [".$domain_name."]'>\n";
    $parse_out0.="<input type='hidden' name='rec_amount' value='".$total_reoccur."'>\n";
    $parse_out0.="<input type='hidden' name='rec_end_date' value='".$next."'>\n";
    $parse_out0.="<input type='hidden' name='rec_start_date' value='".$tarikh."'>\n";
    $parse_out0.="<input type='hidden' name='rec_end_date' value='".$next."'>\n";
    $parse_out0.="<input type='hidden' name='rec_period' value='".$day."'>\n";

    ----------------------------------------------------------------------
    then at moneybookers_success.php
    $id = $_GET["id"];
    echo $id;

    it still blank ... and at the address bar, www.domain.com/moneybooker_success.php?id=
    it didnt pas any value here...
    mayb i do it wrongly somewhere.. but i didnt see where..
    thanks for any help...
    try to ask moneybookers support.. they keep asking me to read d manual since i dun understand much on thier documentation!.. so frustrated

  • #5
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,076
    Thanks
    11
    Thanked 98 Times in 96 Posts
    are they POST'ing the results ?

    try <?print_r($_POST);print_r($_GET);?>
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #6
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi,
    thanks for ur reply
    here is the result from <? print_r($_POST);print_r($_GET); ?>

    Array ( ) Array ( )

    what is that mean?
    i am really are beginner.. so lot of things i dont know...

    thanks for any help.

  • #7
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    $_POST and $_GET ar arrays so try

    PHP Code:
    foreach($_POST as $result)
    {
     
    print_r($result);
    }

    foreach(
    $_GET as $result)
    {
     
    print_r($result);

    You can not say you know how to do something, until you can teach it to someone else.

  • #8
    New Coder
    Join Date
    Sep 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    It may be of some help

    Look at this. It will resolve all the issues with moneybooker.

    http://www.moneybookers.com/app/help...m_shoppingcart


  •  

    Posting Permissions

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