Author Topic: Moneybookers Details  (Read 76053 times)

lukasknol

  • Beginner
  • *
  • Posts: 3
Re: Moneybookers Details
« Reply #30 on: December 13, 2009, 20:03:08 pm »
I'm looking for this as well. The form works fine but I want to be redirected to Moneybookers and skip the pay button. Is there already a solution for this??

It is possible to remove the pay button and redirect to moneybookers like the paypal module?

Thanks




You can easily set up your Moneybookers Payment Method by adding a new payment method, type  PayPal or related and fill in this code into the payment Extra info (see Tab "Configuration" in the payment method form):

Code: [Select]
<form action="https://www.moneybookers.com/app/payment.pl" method="post"
target="_blank" />
<input type="hidden" name="pay_to_email" value="paytoyouremail@yourdomain.com" />
<input type="hidden" name="transaction_id" value="<?php $db->p("order_id"?>" />
<input type="hidden" name="return_url" value="<?php echo SECUREURL
."index.php?option=com_phpshop&amp;page=checkout.result&amp;order_id=".$db->f("order_id")
?>
" />
<input type="hidden" name="cancel_url" value="<?php echo SECUREURL ."index.php" ?>">
<input type="hidden" name="status_url"
value="https://www.moneybookers.com/process_payment.cgi">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="customer_id" value="USER_ID" />
<input type="hidden" name="pay_from_email" value="<?php echo $user->email?>" />
<input type="hidden" name="amount" value="<?php printf("%.2f",
$db->f("order_total"))?>
" />
<input type="hidden" name="currency" value="EUR" />
<input type="hidden" name="firstname" value="<?php echo $user->first_name?>" />
<input type="hidden" name="lastname" value="<?php echo $user->last_name?>" />
<input type="hidden" name="address" value="<?php echo $user->address_1?>&#10<?php
echo $user->address_2?>
" />
<input type="hidden" name="postal_code" value="<?php echo $user->zip?>" />
<input type="hidden" name="city" value="<?php echo $user->city?>" />
<input type="hidden" name="state" value="<?php echo $user->state?>" />
<input type="hidden" name="detail1_description" value="description1" />
<input type="hidden" name="detail1_text" value="detail1" />
<input type="hidden" name="detail2_description" value="description2" />
<input type="hidden" name="detail2_text" value="detail2" />
<input type="hidden" name="detail3_description="description3" />
<input type="hidden" name="detail3_text" value="detail3" />
<input type="hidden" name="confirmation_note" value="Your payment is ok. Thank you!" />
<input type="submit" value="Pay!">
</form>

Save it and you're done. You can modify the code just as you like.
A big thankyou goes out to "Lubos" <informuj (@) mailbox.sk> for this code.


ciao, Soeren

lukasknol

  • Beginner
  • *
  • Posts: 3
Re: Moneybookers Details
« Reply #31 on: December 14, 2009, 22:07:41 pm »
I found a solution to redirect directly to moneybookers so u dont need to use a pay button (this one is for creditcard):

---

vmRedirect( $url . $query_string );
} else {

---

Here is the whole script:

---

<?php
$db1 = new ps_DB();
$q = "SELECT country_2_code FROM #__vm_country WHERE country_3_code='".$user->country."' ORDER BY country_2_code ASC";
$db1->query($q);

$url = "https://www.moneybookers.com/app/payment.pl";
$tax_total = $db->f("order_tax") + $db->f("order_shipping_tax");
$discount_total = $db->f("coupon_discount") + $db->f("order_discount");



$post_variables = Array(
"pay_to_email" => MB_EMAIL,
"detail1_description" => $VM_LANG->_('PHPSHOP_ORDER_PRINT_PO_NUMBER').": ". $db->f("order_id"),
"transaction_id" => $db->f("order_number"),
"detail1_text" => $db->f("order_id"),
"amount" => $db->f("order_total"),
"currency" => $db->f("order_currency"),
"firstname" => $dbbt->f('first_name'),
"lastname" => $dbbt->f('last_name'),
"address" => $dbbt->f('address_1'),
"address2" => $dbbt->f('address_2'),
"postal_code" => $dbbt->f('zip'),
"city" => $dbbt->f('city'),
"hide_login" => "1" ,
"recipient_description" =>  $vendor_name,
"country" => $dbbt->f('country'),
"pay_from_email" => $dbbt->f('user_email'),
"phone_number" => $dbbt->f('phone_1'),
"logo_url" => "http://www.moneybookers.com/creatives/pay_below_5.gif",
"status_url2" => "mailto:" . MB_EMAIL,
"return_url" => SECUREURL ."index.php?option=com_virtuemart&page=checkout.resultmb&order_id=".$db->f("order_id"),
"status_url" => SECUREURL ."administrator/components/com_virtuemart/notifymb.php",
"cancel_url" => SECUREURL ."index.php",
"merchant_fields" => "softwareproviderjum, order_id" ,
"softwareproviderjum" => "joomvm" ,
"order_id" => $db->f("order_id") ,
"new_window_redirect" => "1",
"language" => "EN" ,
"payment_methods" => "ACC",

);
if( $page == "checkout.thankyou" ) {
$query_string = "?";
foreach( $post_variables as $name => $value ) {
$query_string .= $name. "=" . urlencode($value) ."&";
}

vmRedirect( $url . $query_string );
} else {


echo '<form action="'.$url.'" method="post" target="_parent">';
echo '<input type="image" name="submit" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_240x80px.gif" border="0" alt="Click to pay with Moneybookers - it is fast, free and secure!" />';

foreach( $post_variables as $name => $value ) {
echo '<input type="hidden" name="'.$name.'" value="'.htmlspecialchars($value).'" />';
}
echo '</form>';

}
?>

---

akamaramaka

  • Guest
Re: Moneybookers Details
« Reply #32 on: November 26, 2010, 02:49:37 am »
Could someone help with a small issue in MB? Do I need a secret word to run this payment system? The official module demands it once i add the payment option and tells to check the merchant area to get it. While in the merchant area on MB there is no sign of whatsoever secret words. Can I still use the Credit Card payment gateway and eWallet? Is it obligatory? Any clue highly appreciated..

krofeta

  • Beginner
  • *
  • Posts: 33
Re: Moneybookers Details
« Reply #33 on: December 21, 2010, 11:11:22 am »
Could someone help with a small issue in MB? Do I need a secret word to run this payment system? The official module demands it once i add the payment option and tells to check the merchant area to get it. While in the merchant area on MB there is no sign of whatsoever secret words. Can I still use the Credit Card payment gateway and eWallet? Is it obligatory? Any clue highly appreciated..
http://www.moneybookers.com/app/help.pl?s=m_shoppingcart

lonerunner

  • Beginner
  • *
  • Posts: 20
Re: Moneybookers Details
« Reply #34 on: May 14, 2011, 18:52:32 pm »
Hello nofxsk8, did you manage to get your orders confirmed directly when it was paid through Moneybookers? I am trying this module as well and all works fine, only my order doesn't gets confirmed in the system. Is this a known issue?

Thanks in advanced,
Paul.

I know its old thread but maybe someone managed to get solution to this, im having same problem. When someone make payment via moneybookers i have all shop records in mb history, and mb redirect user back to my website but dont change order to confirmed automatically, i have to manually login and confirm order, this way users have to wait for me to be able to download content. Can this be automated so they receive download instantly when make payment.

kepesop

  • Beginner
  • *
  • Posts: 1
    • κατασκευή ιστοσελίδων
Re: Moneybookers Details
« Reply #35 on: November 11, 2011, 19:10:12 pm »
thank you for you info you helped me a lot

jameel

  • Beginner
  • *
  • Posts: 45
Re: Moneybookers Details
« Reply #36 on: November 20, 2011, 17:59:45 pm »
Virtuemart + Joomla extensions www.itechshop.org
get Paypal extended, payza extended, moneybookers extended module that let you use 98  currencies nonsupported paypal/alertpay/mb currencies on VM 1.1.x and convert them to supported one at www.itechshop.org

220+ domain extensions www.industechnologies.co

jameel

  • Beginner
  • *
  • Posts: 45
Re: Moneybookers Details
« Reply #37 on: November 22, 2011, 14:28:23 pm »
Get this module it works great.. will solve your problem as well..
It is iframe based module so customer will stay on your website, Full instructions are included
http://www.itechshop.org/index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.tpl&product_id=21
Virtuemart + Joomla extensions www.itechshop.org
get Paypal extended, payza extended, moneybookers extended module that let you use 98  currencies nonsupported paypal/alertpay/mb currencies on VM 1.1.x and convert them to supported one at www.itechshop.org

220+ domain extensions www.industechnologies.co

jameel

  • Beginner
  • *
  • Posts: 45
Re: Moneybookers Details
« Reply #38 on: May 17, 2012, 18:01:28 pm »
Now you can use 98 currencies in your favorite virtuemart and accept paypal, moneybookers or Payza (previously alertpay)..
these module convert non supported currencies into respective payment processor supported currency (you choose it in the backend)...

iMoneybookers extended payment module for non supported currencies

http://www.itechshop.org/index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.tpl&product_id=23

Payza extended payment module for non supported currencies
http://www.itechshop.org/index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.tpl&product_id=25

Paypal extended payment module for non supported currencies
http://www.itechshop.org/index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.tpl&product_id=19

or get combo pack that include all three and save 50%
http://www.itechshop.org/index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.tpl&product_id=24
Virtuemart + Joomla extensions www.itechshop.org
get Paypal extended, payza extended, moneybookers extended module that let you use 98  currencies nonsupported paypal/alertpay/mb currencies on VM 1.1.x and convert them to supported one at www.itechshop.org

220+ domain extensions www.industechnologies.co

ribo

  • Beginner
  • *
  • Posts: 6
    • Chat Γνωριμίες Spontes
Re: Moneybookers Details
« Reply #39 on: December 02, 2012, 11:15:17 am »
I found a solution to redirect directly to moneybookers so u dont need to use a pay button (this one is for creditcard):

---

vmRedirect( $url . $query_string );
} else {

---

Here is the whole script:

---

<?php
$db1 = new ps_DB();
$q = "SELECT country_2_code FROM #__vm_country WHERE country_3_code='".$user->country."' ORDER BY country_2_code ASC";
$db1->query($q);

$url = "https://www.moneybookers.com/app/payment.pl";
$tax_total = $db->f("order_tax") + $db->f("order_shipping_tax");
$discount_total = $db->f("coupon_discount") + $db->f("order_discount");



$post_variables = Array(
"pay_to_email" => MB_EMAIL,
"detail1_description" => $VM_LANG->_('PHPSHOP_ORDER_PRINT_PO_NUMBER').": ". $db->f("order_id"),
"transaction_id" => $db->f("order_number"),
"detail1_text" => $db->f("order_id"),
"amount" => $db->f("order_total"),
"currency" => $db->f("order_currency"),
"firstname" => $dbbt->f('first_name'),
"lastname" => $dbbt->f('last_name'),
"address" => $dbbt->f('address_1'),
"address2" => $dbbt->f('address_2'),
"postal_code" => $dbbt->f('zip'),
"city" => $dbbt->f('city'),
"hide_login" => "1" ,
"recipient_description" =>  $vendor_name,
"country" => $dbbt->f('country'),
"pay_from_email" => $dbbt->f('user_email'),
"phone_number" => $dbbt->f('phone_1'),
"logo_url" => "http://www.moneybookers.com/creatives/pay_below_5.gif",
"status_url2" => "mailto:" . MB_EMAIL,
"return_url" => SECUREURL ."index.php?option=com_virtuemart&page=checkout.resultmb&order_id=".$db->f("order_id"),
"status_url" => SECUREURL ."administrator/components/com_virtuemart/notifymb.php",
"cancel_url" => SECUREURL ."index.php",
"merchant_fields" => "softwareproviderjum, order_id" ,
"softwareproviderjum" => "joomvm" ,
"order_id" => $db->f("order_id") ,
"new_window_redirect" => "1",
"language" => "EN" ,
"payment_methods" => "ACC",

);
if( $page == "checkout.thankyou" ) {
$query_string = "?";
foreach( $post_variables as $name => $value ) {
$query_string .= $name. "=" . urlencode($value) ."&";
}

vmRedirect( $url . $query_string );
} else {


echo '<form action="'.$url.'" method="post" target="_parent">';
echo '<input type="image" name="submit" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_240x80px.gif" border="0" alt="Click to pay with Moneybookers - it is fast, free and secure!" />';

foreach( $post_variables as $name => $value ) {
echo '<input type="hidden" name="'.$name.'" value="'.htmlspecialchars($value).'" />';
}
echo '</form>';

}
?>

---
thank you for the solution. i ll try