Hi

I am trying to figure out how Netcash updates my payment workflow.

When i get a payment successful from Netcash it stays on the Netcash screen and does not go back to my site.

In testing mode I get payment confirmed and payment canceled emails from Netcash.

Can you please put me in the right direction.

Thanks

CommentFileSizeAuthor
#13 netcash_gateway.jpg29.18 KBvlooivlerke

Comments

theamoeba’s picture

i am busy working on this issue now.

theamoeba’s picture

You need to set your return urls in the netcash control panel to http://example.com/cart/netcash/complete. I am busy finding out from netcash if this can be set by the module instead of manually.

norio’s picture

Amoeba,

I just noticed this typo on line 11:

function uc_netcasg_menu() {

This would make those menu system items (/complete and /finalize) not work.

theamoeba’s picture

Status: Active » Closed (fixed)

fixed in 1.4

vlooivlerke’s picture

Ok

I have entered the following url in the accept

http://example.com/cart/netcash/complete

And this in reject

http://example.com/cart/netcash/finalize

And the Data field I left as NONE

At least I am now sent back to my site but it goes to this page not found

http://example.com/cart/netcash/complete?TransactionAccepted=true&CardHo...

Any Idea?

No payment workflow is updated too

vlooivlerke’s picture

Version: 6.x-1.2 » 6.x-1.4
Status: Closed (fixed) » Active

Open

vlooivlerke’s picture

Hi

Here is a test setup of netcash

http://www.amazingaccountingwizard.co.za/

To reproduce the page not found error you can purchase a product and use netcash to checkout

http://www.amazingaccountingwizard.co.za/

Cardtype: Visa
credit card: 2424242424242424
CVV: 123
date 12/2009

this is the testing card number

The order workflow is not updated

theamoeba’s picture

Hi, have you updated to the latest version of uc_netcash? the typo in the hook_menu function would cause those pages to output a 404 error. This has been fixed in 1.4.

vlooivlerke’s picture

Hi

Yes I did not have 1.4. I installed it immediatly but still encounters this message after I have entered my credit card on the netcash interface.

"An error has occurred during payment. Please contact us to ensure your order has submitted."

I think I must have the settings on Netcash wrong.

What is the correct url links I have to provide to Netcash
And what comes in the DATA field on netcash

Please try making a purchase on the supplied link in comment #7 to see the error message.

Thanks

theamoeba’s picture

I have rewritten the netcash_complete() and netcash_finalise() functions and uploaded it again. I have looked at the Reason variable that Netcash returns in the URL on the finalise page and it seems to have some issue with the budget setting. Perhaps you can look at that. The default setting for the module is not to display the Budget option to the user, though in the admin settings you can specify that option.

Have a look in your netcash control panel and see if there is anything about the budget option.

please tell me if 1.5 fixes the workflow issues.

vlooivlerke’s picture

Ok installed latest uc_netcash 1.5 and have ubercart 6.x-2.0-rc6

I found a major bug. I noticed "Norio" made a purchase, the order is there, and it is in "in-checkout"
But there is no user account for him. He also does not show up under customers.

Cart is set to do anonymous checkout, but you must specify a username, email, and password, but this user is not created when using netcash to checkout. It does create the user if you use one of the other checkout options (Bank-Transfer)

Please make sure that I have entered my netcash url correctly as I described in comment #5

I have deleted all users/orders "Norio" and the rest so you can do the test again with the new updates.

Thanks

theamoeba’s picture

the return url needs to be cart/netcash/complete

vlooivlerke’s picture

StatusFileSize
new29.18 KB

I still get the same results

Here is a screen shot of my netcash settings.

norio’s picture

Vlooi, the reason for that is that I couldn't complete a test payment via Netcash.co.za. Once I was redirected to the Netcash web site to enter payment details, the test details didn't work. It seems to me that this was because test mode wasn't enabled on the site. Either that or I had the wrong test details.

Either way, it's no reflection on the module as the payment was denied due to "invalid credit card number".

Hope this makes sense.

vlooivlerke’s picture

Ok, so my settings in netcash, as per screenshot is correct?

I am going to turn test mode off and see if it works in real life.

Thanks

theamoeba’s picture

i have updated the project page with install/usage docs: http://drupal.org/project/uc_netcash

theamoeba’s picture

Please make all return URLs cart/netcash/complete, thanks

vlooivlerke’s picture

Version: 6.x-1.4 » 6.x-1.5

Hi

I turned my test mode off in both module and netcash side.
I have set all 3 url's in netcash gateway to www.example.com/cart/netcash/complete

Took a working credit card with money and made a purchase.

It did the verification (not seen in testing mode) but ended up with the same screen "An error has occured during payment. Please contact us to ensure your order has submitted.

the link of that page: www.example.com/cart/netcash/complete?TransactionAccepted=True&.....

The money has been taken from my credit card, but no payment workflow has been updated, and no customer/user has been created.

So the bug is not in the safemode (testing mode) as both modes give the same error.

Any idea?

If you want me to turn test mode back on to "test it" let me know.
I have a second site using coupon module giving the same error.

robin.prieschl’s picture

Hi

I am using the latest version (1.5) of the module and I am having the same problem.

Getting the same "An error has occurred during payment. Please contact us to ensure your order has submitted." error.

Checked the settings in netcash as well as in Ubercart.

Get an email from netcash saying the card transaction went through but there is no order created in Ubercart.

vlooivlerke’s picture

Try this version

http://drupal.org/node/567244#comment-2038844

It does not work but the error is gone

norio’s picture

Please try the latest dev version: 6.x-1.x-dev: 2009-Nov-11

ratinakage’s picture

#21 worked for me!

Thanks!!