Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * - - 1 votes

Paymate Support Thread


48 replies to this topic

#21 nudylady

  • Community Member
  • 234 posts
  • Real Name:nudylady

Posted 28 April 2008, 20:27

Does paymate SPI disables cash on delivery & money order payment module?
My paymate SPI worked. But when I test to choose COD. it goes blank in checkout_success.php

Edited by nudylady, 28 April 2008, 20:27.


#22 nudylady

  • Community Member
  • 234 posts
  • Real Name:nudylady

Posted 28 April 2008, 21:44

View Postnudylady, on Apr 29 2008, 12:27 AM, said:

Does paymate SPI disables cash on delivery & money order payment module?
My paymate SPI worked. But when I test to choose COD. it goes blank in checkout_success.php

I made code wrong. This is fixed.

#23 nudylady

  • Community Member
  • 234 posts
  • Real Name:nudylady

Posted 28 April 2008, 21:56

Got a problem. when customer does not pay at paymate, the status of the order is Prepayment from Admin-orders. BUT if you highlight the order and click DETAIL button goes to order page the status is processing. Also When customers logged in and they see PROCESSING status. I think all this addon does is held orders before passing to paymate.
</br>
Anonther option Paymate express 2.0 is very simple and does not change any files. It does not held orders but i would installl a held orders addon for paymate express 2.0 .

#24 nudylady

  • Community Member
  • 234 posts
  • Real Name:nudylady

Posted 28 April 2008, 22:17

Leslie Cooper
what think of this compared to paymate express?

#25 Coopco

  • Community Member
  • 9,557 posts
  • Real Name:Leslie Cooper
  • Gender:Male
  • Location:Sea Lake, Victoria, Australia

Posted 29 April 2008, 08:13

View Postnudylady, on Apr 29 2008, 08:17 AM, said:

Leslie Cooper
what think of this compared to paymate express?
I think it is better because it is supported by paymate.


The Coopco Underwear Shop



If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

#26 Firewater

  • Community Member
  • 1 posts
  • Real Name:Dexter Knudson

Posted 12 May 2008, 12:09

I am using the CRE Loaded 6.2 version of osCommerce which is based on osCommerce 2.2. I have integrated the paymatespi_1_2 code. I found I needed to change the url for the call to www.paymate.com ( from localhost as per below). I now seem to make the connection ok & return to osCommerce.

I have a few problems:
1. The state (eg NSW) doesn't seem to be passed to PayMate for some reason (A minor one)
2. After putting the the dummy credit card number below (which worked) I am returned to the "Payment Information" (checkout_payment.php) page instead of the finished page (checkout_success.php)
3. The cart still has the order in it (I suspect this is due to the return to the incorrect page)

Any guidance anyone could provide to help narrow my investigation would be appreciated.

Thanks.

#27 JZM

  • Community Member
  • 46 posts
  • Real Name:Jess

Posted 01 August 2008, 04:26

Hello,

I have used Paymate as a Credit Card payment function on a clients website. The issue that we are experiencing is that when a client makes a payment via Paymate and it leaves the store I have used Digistore. The add-on that I have used for Paymate is from Oscommerce. The store owner or the client does not get the following:
(a) The Client does not get order confirmation by email after paying with Credit Card via Paymate.
(B) The store owner does not receive a confirmation e-mail of the payment or the order.
© The order does not show up in Digistore.

Look forward to your reply and how we could fix or work around this issue.

#28 Coopco

  • Community Member
  • 9,557 posts
  • Real Name:Leslie Cooper
  • Gender:Male
  • Location:Sea Lake, Victoria, Australia

Posted 01 August 2008, 09:32

View PostJZM, on Aug 1 2008, 02:26 PM, said:

Hello,

I have used Paymate as a Credit Card payment function on a clients website. The issue that we are experiencing is that when a client makes a payment via Paymate and it leaves the store I have used Digistore. The add-on that I have used for Paymate is from Oscommerce. The store owner or the client does not get the following:
(a) The Client does not get order confirmation by email after paying with Credit Card via Paymate.
(B) The store owner does not receive a confirmation e-mail of the payment or the order.
© The order does not show up in Digistore.

Look forward to your reply and how we could fix or work around this issue.
What version did you install?


The Coopco Underwear Shop



If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

#29 JZM

  • Community Member
  • 46 posts
  • Real Name:Jess

Posted 03 August 2008, 03:09

View PostCoopco, on Aug 1 2008, 09:32 PM, said:

What version did you install?

What do i do for http://localhost:8080/npaymate/expressPaymentAU.jsf i'm getting failed to connect

#30 Coopco

  • Community Member
  • 9,557 posts
  • Real Name:Leslie Cooper
  • Gender:Male
  • Location:Sea Lake, Victoria, Australia

Posted 03 August 2008, 04:49

View PostJZM, on Aug 3 2008, 01:09 PM, said:

What do i do for http://localhost:8080/npaymate/expressPaymentAU.jsf i'm getting failed to connect
Is it really that hard to say what version you installed?

Maybe post 20 has the answer.


The Coopco Underwear Shop



If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

#31 JZM

  • Community Member
  • 46 posts
  • Real Name:Jess

Posted 03 August 2008, 04:53

I have used the version that is used in this thread have done post #20

Edited by JZM, 03 August 2008, 04:56.


#32 Coopco

  • Community Member
  • 9,557 posts
  • Real Name:Leslie Cooper
  • Gender:Male
  • Location:Sea Lake, Victoria, Australia

Posted 03 August 2008, 05:22

View PostJZM, on Aug 3 2008, 02:53 PM, said:

I have used the version that is used in this thread have done post #20
OK, I have not made the change, but I do have

// class constructor
function paymatespi() {
global $order;

$this->code = 'paymatespi';
$this->title = MODULE_PAYMENT_SPI_PAYMATE_TEXT_TITLE;
$this->public_title = MODULE_PAYMENT_SPI_PAYMATE_TEXT_PUBLIC_TITLE;
$this->description = MODULE_PAYMENT_SPI_PAYMATE_TEXT_DESCRIPTION;
$this->enabled = ((MODULE_PAYMENT_SPI_PAYMATE_STATUS == 'True') ? true : false);
$this->sort_order = MODULE_PAYMENT_SPI_PAYMATE_SORT_ORDER;


if ((int)MODULE_PAYMENT_SPI_PAYMATE_ORDER_STATUS_ID > 0) {
$this->order_status = MODULE_PAYMENT_SPI_PAYMATE_ORDER_STATUS_ID;
}

if (is_object($order)) $this->update_status();

$this->form_action_url = 'https://www.paymate.com.au/PayMate/ExpressPayment';
// uncomment for New Zealand websites: 'https://www.paymate.com.au/PayMate/GenExpressPayment';
//$this->form_action_url = 'http://localhost:8080/npaymate/expressPaymentAU.jsf';
}

// class methods


The Coopco Underwear Shop



If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

#33 mouligreenlaw

  • Community Member
  • 15 posts
  • Real Name:mouli greenlaw

Posted 05 September 2008, 01:20

View PostCoopco, on Aug 3 2008, 06:22 PM, said:

OK, I have not made the change, but I do have

// class constructor
function paymatespi() {
global $order;

$this->code = 'paymatespi';
$this->title = MODULE_PAYMENT_SPI_PAYMATE_TEXT_TITLE;
$this->public_title = MODULE_PAYMENT_SPI_PAYMATE_TEXT_PUBLIC_TITLE;
$this->description = MODULE_PAYMENT_SPI_PAYMATE_TEXT_DESCRIPTION;
$this->enabled = ((MODULE_PAYMENT_SPI_PAYMATE_STATUS == 'True') ? true : false);
$this->sort_order = MODULE_PAYMENT_SPI_PAYMATE_SORT_ORDER;


if ((int)MODULE_PAYMENT_SPI_PAYMATE_ORDER_STATUS_ID > 0) {
$this->order_status = MODULE_PAYMENT_SPI_PAYMATE_ORDER_STATUS_ID;
}

if (is_object($order)) $this->update_status();

$this->form_action_url = 'https://www.paymate.com.au/PayMate/ExpressPayment';
// uncomment for New Zealand websites: 'https://www.paymate.com.au/PayMate/GenExpressPayment';
//$this->form_action_url = 'http://localhost:8080/npaymate/expressPaymentAU.jsf';
}

// class methods
Hi
What is the current correct link for using Paymate from New Zealand.
I'm aware that they changed the main URL to www.paymate.com for all links so in paymatespi.php I am using the following:

$this->form_action_url = 'https://www.paymate.com/PayMate/GenExpressPayment';
// uncomment for New Zealand websites: 'https://www.paymate.com/PayMate/GenExpressPayment';
//$this->form_action_url = 'http://localhost:8080/npaymate/expressPaymentAU.jsf';
bit it doesn't seem to receive any of the posted variables.
I just get an express payment page with no details filled in.
I have checked that I have the correct account details in admin.
Any ideas?

Many thanks for your time.

mouli

#34 rissa@shimmer

  • Community Member
  • 4 posts
  • Real Name:Marissa Milne

Posted 23 November 2008, 13:15

View PostFirewater, on May 12 2008, 10:39 PM, said:

I am using the CRE Loaded 6.2 version of osCommerce which is based on osCommerce 2.2. I have integrated the paymatespi_1_2 code. I found I needed to change the url for the call to www.paymate.com ( from localhost as per below). I now seem to make the connection ok & return to osCommerce.

I have a few problems:
1. The state (eg NSW) doesn't seem to be passed to PayMate for some reason (A minor one)
2. After putting the the dummy credit card number below (which worked) I am returned to the "Payment Information" (checkout_payment.php) page instead of the finished page (checkout_success.php)
3. The cart still has the order in it (I suspect this is due to the return to the incorrect page)

Any guidance anyone could provide to help narrow my investigation would be appreciated.

Thanks.

I am having the exact same problems, any thoughts from anyone?

#35 Coopco

  • Community Member
  • 9,557 posts
  • Real Name:Leslie Cooper
  • Gender:Male
  • Location:Sea Lake, Victoria, Australia

Posted 23 November 2008, 13:26

View Postrissa@shimmer, on Nov 24 2008, 12:15 AM, said:

I am having the exact same problems, any thoughts from anyone?
Perhaps the creloaded forum can help.

Support from paymate has gone awol.


The Coopco Underwear Shop



If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

#36 daoutlawz

  • Community Member
  • 3 posts
  • Real Name:Robert

Posted 01 April 2009, 10:12

This was racking my brain for a few days, but finally worked it out, mainly due to Paymate changing their side of things and not letting anyone know about it, two thumbs up for that one Paymate :D

Make sure in your admin area for Paymate you set the email address to be test@testdomain.com and the user is testuser. Then in \catalog\includes\modules\payment\paymatespi.php find the lines of code where its setting the URL, around line 35, comment out all of them and enter this one in:

$this->form_action_url = 'https://www.paymate.com/PayMate/TestExpressPayment?mid=testuser';

Then those test credit card numbers will work:

4564456445644564 will return Approved and;
5424000000000015 will return Declined.

They both should return you to your site with the stock updated (trying to figure out how to integrate with QT Pro at the moment)

Once you are ready to go live, comment out that code and add this code underneath it:

$this->form_action_url = 'https://www.paymate.com/PayMate/ExpressPayment?mid=testuser';

where testuser is your username from Paymate.

I have not tested the live one as I want to finalise the QT Pro stock handling first, but it should work.

#37 daoutlawz

  • Community Member
  • 3 posts
  • Real Name:Robert

Posted 01 April 2009, 11:20

I've done the QT Pro stock update with Paymate aswell. Just got it working. It was doubling up the subtraction.

in

\catalog\paymate_checkout_preprocess.php

Find code:

if ((DOWNLOAD_ENABLED != 'true') || (!$stock_values['products_attributes_filename'])) {
          $stock_left = $stock_values['products_quantity'] - $order->products[$i]['qty'];
        } else {
          $stock_left = $stock_values['products_quantity'];
        }

and replace with:

if ((DOWNLOAD_ENABLED != 'true') || (!$stock_values['products_attributes_filename'])) {
          $stock_left = $stock_values['products_quantity']; // Removed for doubling up - $order->products[$i]['qty'];
        } else {
          $stock_left = $stock_values['products_quantity'];
        }

Any questions just ask.

#38 dan.akio

  • Community Member
  • 3 posts
  • Real Name:Daniel

Posted 27 April 2009, 09:04

View PostFirewater, on May 12 2008, 01:09 PM, said:

I am using the CRE Loaded 6.2 version of osCommerce which is based on osCommerce 2.2. I have integrated the paymatespi_1_2 code. I found I needed to change the url for the call to www.paymate.com ( from localhost as per below). I now seem to make the connection ok & return to osCommerce.

I have a few problems:
1. The state (eg NSW) doesn't seem to be passed to PayMate for some reason (A minor one)
2. After putting the the dummy credit card number below (which worked) I am returned to the "Payment Information" (checkout_payment.php) page instead of the finished page (checkout_success.php)
3. The cart still has the order in it (I suspect this is due to the return to the incorrect page)

Any guidance anyone could provide to help narrow my investigation would be appreciated.

Thanks.

I am having the same problem.
I have set the zones with the Australian states.
I have found this line on catalog/includes/classes/order.php.
'state' => ((tep_not_null($customer_address['entry_state'])) ? $customer_address['entry_state'] : $customer_address['zone_name']),
What does this do? It is diferenct from the other passing statements. Should I just change it to the following statement?
'state' => $customer_address['entry_state'],

Thanks.

#39 dan.akio

  • Community Member
  • 3 posts
  • Real Name:Daniel

Posted 27 April 2009, 09:06

Has anyone tried the Custom Skins for Express Payment?
How was the paymate service?

#40 dan.akio

  • Community Member
  • 3 posts
  • Real Name:Daniel

Posted 27 April 2009, 11:33

View PostFirewater, on May 12 2008, 01:09 PM, said:

I am using the CRE Loaded 6.2 version of osCommerce which is based on osCommerce 2.2. I have integrated the paymatespi_1_2 code. I found I needed to change the url for the call to www.paymate.com ( from localhost as per below). I now seem to make the connection ok & return to osCommerce.

I have a few problems:
1. The state (eg NSW) doesn't seem to be passed to PayMate for some reason (A minor one)
2. After putting the the dummy credit card number below (which worked) I am returned to the "Payment Information" (checkout_payment.php) page instead of the finished page (checkout_success.php)
3. The cart still has the order in it (I suspect this is due to the return to the incorrect page)

Any guidance anyone could provide to help narrow my investigation would be appreciated.

Thanks.

Hey I got a workaround for this problem.
First you got to make sure that the state is been saved on the database by:
- Making sure State was set to True in admin/Configuration/Customer Details
- Making sure Country and Zone are correct in admin/Configuration/My Store

In my case, I had to delete all the states saved as zones on the admin/Zones in order to record the states on the db.

If it does not work, check this thread or google for a solution.
http://forums.oscommerce.com/index.php?showtopic=330079

After you ensure that states are been recored on the database, change the paymate_checkout_preprocess.php file.

Find at the end of the file.

//echo "do nothing";
if (isset($$payment->form_action_url)) {
$form_action_url = $$payment->form_action_url;

and change the line
$form_action_url = $$payment->form_action_url;
to
$form_action_url = $$payment->form_action_url . '?regindi_state=' . $order->customer['state'];

This will pass the state parameter via url.

It is just a workaround. If anyone has the proper solution, please post it.

If you use the test express payment (this->form_action_url = 'https://www.paymate.com/PayMate/TestExpressPayment?mid=testuser';)

change from
?regindi_state=
to
&regindi_state=

Please let me know how it goes.

Cheers.

Edited by dan.akio, 27 April 2009, 11:38.