Author Topic: DPS Payment Module - NZ and Australia  (Read 88785 times)

jesses_mum

  • Beginner
  • *
  • Posts: 9
Re: DPS Payment Module - NZ and Australia
« Reply #75 on: February 06, 2011, 06:48:40 am »
Ok, looks like nobody is here  :)

I finally figured it out, by checking my mac key (I had a typo in it).

Hopefully this post may help someone else.

Trying to figure out now why its redirecting from DPS to my website in the "Administrator" folder and therefore none of the links in my footer menu are working, but I guess theres no point asking the question here!

camillaconz

  • Beginner
  • *
  • Posts: 2
Re: DPS Payment Module - NZ and Australia
« Reply #76 on: February 18, 2011, 01:32:35 am »
Hi,
can't believe it's started such a long time ago and there is still no proper plugin available... But thanks to all who shared all the experiences for the future "generations" lol
I have followed the forum and installed all the files and updated the files and did some tweaking but having problem with the redirection page, too. Access Forbidden...
Did any good soul got it working? Will you share, please?

jesses_mum

  • Beginner
  • *
  • Posts: 9
Re: DPS Payment Module - NZ and Australia
« Reply #77 on: February 18, 2011, 07:32:45 am »
Are you using url https://sec2.paymentexpress.com/pxpay/pxpay.aspx in the config for DPS website? Also, check legacy plugin is enabled, I think I saw somewhere it needs to be turned on!

I finally have my site going and have submitted to the PCI Compliance team to get a merchant account approved so fingers crossed!

camillaconz

  • Beginner
  • *
  • Posts: 2
Re: DPS Payment Module - NZ and Australia
« Reply #78 on: February 21, 2011, 06:12:21 am »
Hi,

thanks for reminder, of course i forgot to enable the legacy plugin...
Now i got to the DPS website but now it says "An error has occurred. Please try again."

Any idea why?

I am also wondering about the pxaccess kit, did you install this? i have no idea how to run the DoGenerateRequest.

Good luck with your account and if you successful, please let me know how did you make it work!

jesses_mum

  • Beginner
  • *
  • Posts: 9
Re: DPS Payment Module - NZ and Australia
« Reply #79 on: February 21, 2011, 07:09:36 am »
Hmm.. not sure, where is it that you are receiving the error? (i.e. is it on the DPS website, or are you getting past the bit where you put your credit card details in and then getting the error when returning to your own website?)

I haven't heard of the pxaccess kit, so didn't install this. I only installed 5 files: pxaccess.inc, ps_dpsax_notify.php, ps_dpsax.php, ps_dpsax_config.php and checkout.dpsax_result.php which I got in a zip file somewhere further back along in this forum.

If all else fails you could try emailing the DPS team, and they were very helpful with my problems!

 

bobby_38

  • Beginner
  • *
  • Posts: 19
    • Best IT store
Re: DPS Payment Module - NZ and Australia
« Reply #80 on: April 27, 2011, 05:37:07 am »
all this subject is hard to follow...got some pxpost at the begining change to pxaccess, sometimes pxpay, with many hack and version...at the end what's the real clue....how the system work... like paypal go on the DPS site and back after, embedded form in the page or totally process from the virtuemart checkout...im a bit lost in all this subject and files....
Try harder, one error today is the success of tomorrow

http://www.tech2cool.com

jesses_mum

  • Beginner
  • *
  • Posts: 9
Re: DPS Payment Module - NZ and Australia
« Reply #81 on: April 27, 2011, 05:42:26 am »
I agree, it has become is a long and convoluted subject.

Depending on whether you have your site hosted on a windows or unix server determines whether you use pxaccess or pxpay, pxacess is for unix, it is a "payment method" you install in virtuemart which takes the variables from the shopping cart across to the DPS website, which then accepts the buyers credit card and returns them to your website with a notification on whether payment was successful or not.

bobby_38

  • Beginner
  • *
  • Posts: 19
    • Best IT store
Re: DPS Payment Module - NZ and Australia
« Reply #82 on: May 09, 2011, 06:22:22 am »
my test is working ok but when transaction is accepted...go back to my site...
give me, thank for your purchase..and link to details...

if i click to link to detail it bring me back to paymenet express again....in the account maintenance too...in Order Information view lead me to payment express again..and my transaction still in process...

got that in my module extra info

Code: [Select]
<!-- *************** START CODE SNIPPET *************** -->

<?php

// code for module
include( CLASSPATH."payment/pxaccess.inc" );

$pxaccess = new PxAccessDPSAX_PXACCESS_URLDPSAX_USERIDDPSAX_KEYDPSAX_MAC_KEY );
$request = new PxPayRequest();

// CONFIG
$currency DPSAX_CURRENCY;
$txnType "Purchase";
// CONFIG


$order_total $db->f("order_total");
$order_id $db->f("order_id");
$script_url $mosConfig_live_site.'/administrator/components/com_virtuemart/classes/payment/ps_dpsax_notify.php';


#Set up PxPayRequest Object
$request->setAmountInput$order_total );
$request->setTxnType$txnType );
$request->setInputCurrency$currency );
$request->setMerchantReference$order_id );
$request->setUrlFail$script_url );
$request->setUrlSuccess$script_url );

#Call makeResponse of PxAccess object to obtain the 3-DES encrypted payment request 
$request_string $pxaccess->makeRequest$request );

if( 
DPSAX_DEBUG=='1' )
{
echo '<h3>DEBUG MODE ON</h3>';
echo '<table width="100%" border="1">';
echo '<tr><td colspan="2">The following shows the form fields that will be sumbitted to DPS in the request 
string. Turn debug off to be autoforward.</td></tr>'
;

echo '<tr><td>currency: </td><td>'.$currency.'</td></tr>';
echo '<tr><td>order_total: </td><td>'.$order_total.'</td></tr>';
echo '<tr><td>order_id: </td><td>'.$order_id.'</td></tr>';
echo '<tr><td>txnType: </td><td>'.$txnType.'</td></tr>';
echo '<tr><td colspan="3">&nbsp;</td></tr>';
echo '<tr><td>Created Request URL: </td><td>'.$request_string.'</td></tr>';
echo '</table>';

echo '<div style="text-align:left;"><a href="'.$request_string.'" title="CLICK HERE TO CONTINUE TO DPS">CLICK HERE TO CONTINUE TO DPS</a></div>';
}
else
header"Location: $request_string);


?>


<!-- *************** END CODE SNIPPET *************** -->


any idea....
Try harder, one error today is the success of tomorrow

http://www.tech2cool.com

sampipe

  • Beginner
  • *
  • Posts: 14
Re: DPS Payment Module - NZ and Australia
« Reply #83 on: May 28, 2011, 14:21:05 pm »
Hey All...

Been about 6 years since I've played with this but due to the increasing number of queries I get I finally have got around to updating the DPS module for latest joomla/virtuemart and PXPay.

See new post at http://forum.virtuemart.net/index.php?topic=87063.msg285401#msg285401

Hope this helps some peeps out there.

Sam

virtuemartaustralia

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 14
  • Virtuemart Australia & New Zealand
    • Virtuemart Australia
  • VirtueMart Version: 3.2.12
Re: DPS Payment Module - NZ and Australia
« Reply #84 on: October 28, 2014, 23:03:07 pm »
www.virtuemartoz.com
Shipping: AusPost NZPost
Payment: eWay, SecurePay, merchantwarrior, ematters, paymentexpress
Infinite Scroll,Category Discount,wholesale Discount
Westfield Integration, Make An Offer/Best Offer
We do things others can't do, call Us For A hand of help.