Author Topic: checkout confirm, result and thankyou pages  (Read 73195 times)

aramil

  • Beginner
  • *
  • Posts: 38
Re: checkout confirm, result and thankyou pages
« Reply #30 on: November 03, 2006, 03:09:08 am »
Hi paco!

READY! all work nicely! Just one last question:

im using this code to redirect the user from the gateway result page to my checkout.xxx_result.php:

       out.println("<SCRIPT LANGUAGE=\"JavaScript\">");       out.println("window.location=\"https://www.mysite.com/index.php?.....checkout.xxx_result.php?&invoiceNumber="+invoiceNumber+"&transactionNumber="+transactionNumber+"&totalAmount="+totalAmount+"\"");
      out.println("</Script>");


The issue here is that the user can see the results on the address of the explorer (URL), once he is in the checkout.xxx_result.php, something like this:

https://www.mysite.com/index.php?......invoicenumber=XX&transactionnumber=XX

and if u modify those values and do a refresh, the checkout.xx update the order status no matter the real result of the transaction.

I need to send those values hidden or Post to avoid this, but i dont know how to do it in java

Thx
All men die, not all men really live!

pacochin

  • Beginner
  • *
  • Posts: 40
Re: checkout confirm, result and thankyou pages
« Reply #31 on: November 03, 2006, 05:00:58 am »
hello aramil,

Congrats !!!! Ok. I have the same issues with you, we cant stop user to modify the url parameters....if  values set are passed this way. But i am sure there is a way to do it.

Let me check with some of my programmer friends and get back to you.

thks

aramil

  • Beginner
  • *
  • Posts: 38
Re: checkout confirm, result and thankyou pages
« Reply #32 on: November 03, 2006, 20:53:51 pm »
Ok! i´ll try to find a solution too and if i found it ill post here.
All men die, not all men really live!

waisign

  • Jr. Member
  • **
  • Posts: 54
Re: checkout confirm, result and thankyou pages
« Reply #33 on: January 24, 2007, 10:01:16 am »
hi pacochin and aramil, i am now in the same situation and im stuck!. ok, i downloaded pacochin's tutorial and read it. when i try implementing it, i created a new payment module in VM, i key in the same values as listed in the tutorial. i copied the codes in the pdf apenddix and save it as the same filenames just to tryout

after typing in the codes in the extra payment info, and press save. it saved ok. But when i GO back in so that i can key in the values unde the Payment Method Form configurations, i get a WHITE page with the inout values for the Code etc still there BUT the config page tab empty. It also has an error called cmThemeOffice undefined. Please do help.

below attached the 2 images of error i got. please advise.






Besides this after reading the pdf tutorial, i also noticed that the location in which pacochin mentioned the files to create and its location. I noticed that the locaiton of the files are stated as administrator/components/com_virtuemart/html/classes/payment/

But this is weird. Shouldnt it be:  administrator/components/com_virtuemart/classes/payment/
together with all the other default payment methods? am i missing something here? please advise. thanks

waisign

  • Jr. Member
  • **
  • Posts: 54
Re: checkout confirm, result and thankyou pages
« Reply #34 on: January 24, 2007, 11:09:52 am »
update: i deleted all the codes and add everything in again. now after i press save, i get a total blank page. :(

i notice that i get a blank page onyl if i key in the classname there: ps_commercepayment2 and save.

The tutorial also mentioned something about making sure that the varialble names are unique and not duplicates. i checked and  made sure already. I pasted the addon varialbles under :

class vmLanguage extends vmAbstractLanguage {}

together with all the other variables. is this right?

i suppose the coding in the Extra Payment Info under configuration is alright.

please help (T.T)

waisign

  • Jr. Member
  • **
  • Posts: 54
Re: checkout confirm, result and thankyou pages
« Reply #35 on: January 25, 2007, 09:11:46 am »
hi there. thanks for the tutorial, i manage to get the interface showing. Now a final bit before it actually gets it running.

I need to parse a few values in addition to the ones stated there in the tutorial. is there anyone here who can help me?

i would like to call frm the db and parse:

the product name
the firstname
usercontact.

i tried

"ProdDesc" => $db->f("order_item_name"), //the name of the product //added by me
"UserName" => $db->f("first_name"), //take first name of user
"UserContact" => $db->p("phone_1"), //the primary phone of the user

** actually i tried both $db->f and $db->b. whats the difference actually? please advise.

but its not working. can anyone help please? or do we actualy ahve to make another db query on this? to get this work?

thanks. greatly appreciated. :)

waisign

  • Jr. Member
  • **
  • Posts: 54
Re: checkout confirm, result and thankyou pages
« Reply #36 on: January 26, 2007, 10:35:48 am »
hi everyone. updates to the probs above. well i manage to call some of them by making another query based on what Axel did on one of his threads. But i still could call the order_item_name. is there a way around this?

Besides that, could someone please enlighten me on this matter please? esp pacochin :)

i noticed that frm your tutorial , the values are sent to the URL using POST as i noticed the action = 'post" part. But then when i click confirm, the values are being parsed yes, BUT i saw the values appearing in the URL bar, just like the GET method. and becos of this, the payment gateway company is not accepting the records. Is there a way to fix this and also a possible explaination on why this happens? i really dont know how to explain to them.. haha.. please help! T.T

waisign

  • Jr. Member
  • **
  • Posts: 54
Re: checkout confirm, result and thankyou pages
« Reply #37 on: January 27, 2007, 15:48:39 pm »
bump? please?

jameel

  • Beginner
  • *
  • Posts: 45
Re: checkout confirm, result and thankyou pages
« Reply #38 on: February 25, 2011, 22:36:45 pm »
Hello friends
i have one question i am using available solution for my payment gateway every thing works fine.. but my gateway notifies about payment in hidden way to the any url i give them say test.php.. and they don't send verification to return url.. my payment gateway is similar to paypal.

I have successfully implemented their Instant Payment Notification script and can modify my order status after getting notified, now i need to send my customer email notification. remember i have to trigger notification from an external file..

any help regarding this?
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: checkout confirm, result and thankyou pages
« Reply #39 on: February 25, 2011, 22:43:52 pm »
i am selling digital items so need to send download id as well
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

raj197911

  • Beginner
  • *
  • Posts: 1
Re: checkout confirm, result and thankyou pages
« Reply #40 on: August 24, 2012, 12:58:44 pm »
Hi Friends:

I have my site configured for 4 different types shoppers.

I needed to configure different paypal address for different types of shopper.

Does Virtuemart allows multiple instances of paypal payment gateway configuration? If so how?