Pages: [1] 2 3   Go Down
  Print  
Author Topic: liberty reserve  (Read 3425 times)
lordmick
Full Member
***
Offline Offline

Posts: 106


View Profile WWW
« on: December 02, 2010, 04:31:09 PM »

anybody know how to setup the liberty reserve payment process??
Logged

Upgrade to an SDR 3
cARRIE
Administrator
Hero Member
*****
Offline Offline

Posts: 1458



View Profile WWW
« Reply #1 on: December 02, 2010, 06:10:06 PM »

I know,,, but Lr changed something in their system so payments does not work anymore.
I think i found where the problem is, but please wait a day or so, so i can check this.

Logged

lordmick
Full Member
***
Offline Offline

Posts: 106


View Profile WWW
« Reply #2 on: December 02, 2010, 07:02:18 PM »

allright thx!! Smiley
Logged

cARRIE
Administrator
Hero Member
*****
Offline Offline

Posts: 1458



View Profile WWW
« Reply #3 on: December 03, 2010, 06:33:54 PM »

Ok, first go to your LR account >> Merchant Tools and Create new store.

Choose store name and security word, other fields are not needed.





Go to your Aurora AP - Payment Settings



and fill it like this

Account name = Store name
Security key = Security word

That's it!

Now, because of recent changes in the LR open wizards/final.php.

find this code and remove url_variables

function liberty_code($payment_id, $amount, $order_id) {
   global $url_variables, $settings;
   return "
   <form action=\"https://sci.libertyreserve.com\" method=\"get\">
   <input type=\"hidden\" name=\"lr_acc\" value=\"".$settings['liberty_account']."\" />
   <input type=\"hidden\" name=\"lr_store\" value=\"".$settings['liberty_name']."\" />
   <input type=\"hidden\" name=\"lr_amnt\" value=\"$amount\" />
   <input type=\"hidden\" name=\"lr_currency\" value=\"".$settings['liberty_currency']."\" />
   <input type=\"hidden\" name=\"lr_success_url\" value=\"".$settings[base_url]."/index.php?view=thankyou&order_id=$order_id&".$url_variables."\" />
   <input type=\"hidden\" name=\"lr_success_url_method\" value=\"POST\" />
   <input type=\"hidden\" name=\"lr_fail_url\" value=\"".$settings[base_url]."/index.php?".$url_variables."\" />
   <input type=\"hidden\" name=\"lr_fail_url_method\" value=\"LINK\" />
   <input type=\"hidden\" name=\"lr_status_url\" value=\"".$settings[base_url]."/payment.php\" />
   <input type=\"hidden\" name=\"lr_status_url_method\" value=\"POST\" />
   <input type=\"hidden\" name=\"lr_orderid\" value=\"$order_id\" />
   <input type=\"submit\" name=\"submit\" value=\"Pay Now With Liberty Reserve\">
   </form>
";
}

Will there be any side effects, i don't know yet, but it is the only way to make this work.

Logged

lordmick
Full Member
***
Offline Offline

Posts: 106


View Profile WWW
« Reply #4 on: December 03, 2010, 09:16:58 PM »

ok thank you!!.. if I have any trouble I let you know! Wink
Logged

cARRIE
Administrator
Hero Member
*****
Offline Offline

Posts: 1458



View Profile WWW
« Reply #5 on: December 04, 2010, 06:19:17 AM »

Any feedback is appreciated. I don't have 2 LR accounts to test it fully.
Thanks!  Smiley
Logged

Addons
Full Member
***
Offline Offline

Posts: 158


View Profile
« Reply #6 on: December 10, 2010, 03:54:18 PM »

It work...

But only a problem ... it always go to unprocessed order , every time....why ?
« Last Edit: December 10, 2010, 04:12:11 PM by Addons » Logged

mitobobo
Jr. Member
**
Offline Offline

Posts: 54


MitoBoBo


View Profile
« Reply #7 on: December 10, 2010, 04:08:15 PM »

Thank you very much, seems it works properly! Wink
Logged
cARRIE
Administrator
Hero Member
*****
Offline Offline

Posts: 1458



View Profile WWW
« Reply #8 on: December 10, 2010, 05:48:38 PM »

It work...

But only a problem ... it always go to unprocessed order , every time....why ?

Because we removed  url_variables that contain this information.
If i find a better solution, i'll let you know.

In the meantime, this is better than nothing, i guess not many people use LR so orders will not be difficult to verify.
Logged

bprasetio
Global Moderator
Hero Member
*****
Offline Offline

Posts: 834


View Profile
« Reply #9 on: January 02, 2011, 12:32:33 AM »

I think we should include bought Item / Product name into the code:
Quote
   <input type=\"hidden\" name=\"lr_comments\" value=\"$payment_id\" />

« Last Edit: January 02, 2011, 12:34:20 AM by bprasetio » Logged

Presenting MyGPT Group:

[WTS] Task Summary Addon
Aligroup
Global Moderator
Hero Member
*****
Offline Offline

Posts: 781



View Profile WWW
« Reply #10 on: January 02, 2011, 07:06:24 AM »

Add This To Code And Post Full Code here Please
Logged

Iam Online almost 15 hours Daily
Goldclix " Advertize Your Site Free Check Here"

cARRIE
Administrator
Hero Member
*****
Offline Offline

Posts: 1458



View Profile WWW
« Reply #11 on: January 02, 2011, 11:45:23 AM »

I think we should include bought Item / Product name into the code:
Quote
   <input type=\"hidden\" name=\"lr_comments\" value=\"$payment_id\" />




It sounds like a good idea.
Logged

bprasetio
Global Moderator
Hero Member
*****
Offline Offline

Posts: 834


View Profile
« Reply #12 on: January 02, 2011, 08:03:08 PM »

Quote from: Aligroup
Add This To Code And Post Full Code here Please
Its not difficult, just insert the code before the submit button

function liberty_code($payment_id, $amount, $order_id) {
   global $url_variables, $settings;
   return "
   <form action=\"https://sci.libertyreserve.com\" method=\"get\">
   <input type=\"hidden\" name=\"lr_acc\" value=\"".$settings['liberty_account']."\" />
   <input type=\"hidden\" name=\"lr_store\" value=\"".$settings['liberty_name']."\" />
   <input type=\"hidden\" name=\"lr_amnt\" value=\"$amount\" />
   <input type=\"hidden\" name=\"lr_currency\" value=\"".$settings['liberty_currency']."\" />
   <input type=\"hidden\" name=\"lr_success_url\" value=\"".$settings[base_url]."/index.php?view=thankyou&order_id=$order_id&\" />
   <input type=\"hidden\" name=\"lr_success_url_method\" value=\"POST\" />
   <input type=\"hidden\" name=\"lr_fail_url\" value=\"".$settings[base_url]."/index.php?\" />
   <input type=\"hidden\" name=\"lr_fail_url_method\" value=\"LINK\" />
   <input type=\"hidden\" name=\"lr_status_url\" value=\"".$settings[base_url]."/payment.php\" />
   <input type=\"hidden\" name=\"lr_status_url_method\" value=\"POST\" />
   <input type=\"hidden\" name=\"lr_orderid\" value=\"$order_id\" />
   <input type=\"hidden\" name=\"lr_comments\" value=\"$payment_id\" />
   <input type=\"submit\" name=\"submit\" value=\"Pay Now With Liberty Reserve\">
   </form>
";
}
Logged

Presenting MyGPT Group:

[WTS] Task Summary Addon
Aligroup
Global Moderator
Hero Member
*****
Offline Offline

Posts: 781



View Profile WWW
« Reply #13 on: January 02, 2011, 08:43:46 PM »

i have to remove variable now or not and it will be instant
Logged

Iam Online almost 15 hours Daily
Goldclix " Advertize Your Site Free Check Here"

bprasetio
Global Moderator
Hero Member
*****
Offline Offline

Posts: 834


View Profile
« Reply #14 on: January 02, 2011, 08:53:06 PM »

Quote from: Aligroup
i have to remove variable now or not and it will be instant
read the carrie's post:
Quote from: carrie
Because we removed  url_variables that contain this information.
If i find a better solution, i'll let you know.

In the meantime, this is better than nothing, i guess not many people use LR so orders will not be difficult to verify.
so, by removing the url_variables, the script will work, but the orders placed in the unprocessed orders with the reason as described before..
Logged

Presenting MyGPT Group:

[WTS] Task Summary Addon
Get a SDR 3 NOW at http://ptcfactory.info

The best and most up to date Aurora script in the market!!
Pages: [1] 2 3   Go Up
  Print  
 
Jump to: