Jump to content

MANUAL CREDIT CARD - I DID IT!!!


Guest
 Share

Recommended Posts

:) :rolleyes::D:):P:zorro:

I did it YA'LL!!!!

I figured out a way for me to have MALS-E MANUAL transaction with CUBE CART!!!

Well, am not an expert but I did figure out a way to do it.......

It's a bit tricky, but it seems to be working fine!!!!!

CHECK THIS OUT: This is the way I did it.

First I set up the MAIL ORDER FORM as the main form of payment. When people select that as your payment option, it takes you to the receipt page which shows you that you can pay with a CHEQUE or with a CREDIT CARD FORM (by mail) right?

Well, watcha this!!!

First, I changed the wording in the Languages part from "MAIL ORDER FORM" to "PAY WITH CREDIT CARD OR BY MAIL"

So when they are almost done with their order, they can select that and it will be seemsless.

When they select to pay with CREDIT CARD, they are taken to the receipt page right of the MAIL ORDER FORM right?!!!

(modules\gateway\Print_Order_Form\orderForm.tpl)

Now, what I did is CHANGED that page to my liking... I added some html in the middle of the contents/products and the part in which they can pay with a CHEQUE or MAIL CREDIT CARD INFO.

What I added is a link with my ORDER ID info and the TOTAL inside a link that goes to my MALS-E account. So all they have to do now is enter their CREDIT CARD INFORMATION in my mals-e SECURE transaction page!!! WHOOOOOOOOHOOO!!!

I still have the CHEQUE option as well as the MAIL CREDIT CARD FORM thingy below my NEW OPTION to pay with credit card online.

So, at the end I will have the order coming from CUBECART from my shopping cart since it is like they are ordering via MAIL, and if I don't get the same order # in my MALS-E account then I won't process it UNLESS I get a CHEQUE in the mail or a CREDIT CARD INFO FORM.

STEPS:

- Changed the gateway/payment options MAIL ORDER FORM to PAY WITH CREDIT CARD OR BY MAIL in the languages file

- Changed the Print order form file (orderForm.tpl) to have my HTML that will link to mals-e

- Inside my link to mals e - I have included my ORDER ID as the product and the total from the TOTALS of the shpping cart.

What do you think???????? you guys like it???????? YA???????

It's working for me!!!!

WHOOOOOOOOOOOOHOWWWWW!!!!

Manually rocks now!

Link to comment
Share on other sites

Guest GunnarGeir

Thank you for this informations. I like it. :rolleyes: The SECURE mode (SSL) in admin panel CC3.01 are always with ERROR.

How mush to pay for MALS-E?

Sorry for my english. :)

Link to comment
Share on other sites

ALSO..... you may want to take out the parts that say that the order was as a MAIL ORDER FORM in the receipt and the part when the user checks the account to see their ORDER HISTORY.. =) but besides that....... most of it should be cake!

Link to comment
Share on other sites

I will post with detail how I did it, I'll try to include some code with that as well. But it doesn't seem to be that hard.

I'll let you guys know shortly.... I'll show you the sample as well.

right now am at work, so I'll do it as soon as I have time!

Link to comment
Share on other sites

Guest imagedoc

Hey, cho123456, are you sure this thing you are doing with CubeCart and Mals-e is secure?

You make the statement: "So all they have to do now is enter their CREDIT CARD INFORMATION in my mals-e SECURE transaction page!!!"

But wait a minute... click on this link at mals-c.com:

http://www.mals-e.com/support/helpscr.htm?pg=help10

Scroll down to see the following statement:

"Finally, even if you use the credit card validation routine, it will not really be secure unless you are using a credit card processor such as Authorizenet or Cybercash or electronic cash such as e-Gold."

So... are you passing customers credit card info in an unsecure environment? Or are you using Authorizenet, Cybercash, or electronic cash to make things secure?

Link to comment
Share on other sites

Guest imagedoc

Er... now I'm really confused. It would appear on the shopping cart page at mals-e.com that the shopping cart IS secure (of course! it's a shopping cart!)

Click the link: http://www.mals-e.com/services/standard.htm

Then scroll down to where the statement is made:

"Credit card and check details are collected using an SSL secured server. Have a look at the demo store."

So it would appear that in my earlier discussion, that the NON-secure issue pertains to some Form they are providing for users to fill out on the "Selling Downloadable Products" page, NOT the shopping cart.

Thanks for your instructions on how to "marry" CubeCart with mals-e! Upon further research it DOES appear secure! I'm going to start working on it ASAP!!!

Link to comment
Share on other sites

Guest imagedoc

what must the link be like to be directed to the mals-e payment page directly ?? couldn't manage so far... :-(

Go to mals-e.com and click on "Support" at the top.

On the page that returns, you will see a category "Add items to a cart" which will walk you through all of the details you need. In your case, it sounds like you are trying to add a hyperlink, so you would click on "Using a hyperlink" and read the instructions.

BTW, this comment is for cho123456: Thanks immensely for the post! I too was able to "marry" cubecart successfully with mals-e! My version of CubeCart must be slightly different than yours, which meant that I had to hack your hack a little ... but because you explained everything quite well, I was able to get the job done! It is a powerful thing to be able to use CubeCart for the non-secure e-Commerce stuff, and mals-e for the secure credit card info -- then just manually process to card payment! You're a Genius!!!

Link to comment
Share on other sites

Guest lancasters

Any chance of posting the code for step-by-step details of this Mod?

I am very new to all this and can't get it right.

Specifically

- Changed the gateway/payment options MAIL ORDER FORM to PAY WITH CREDIT CARD OR BY MAIL in the languages file

Is this the file lang.inc.php inside Languages/EN?

I can't find a line to change here with MAIL ORDER FORM in it...

Also the form of the link in your new html on orderForm.tpl , if we use a graphic button like"proceed to payment" should the link be:

<ahref="http://ww8.aitsafe.com/cf/add.cfm?userid=

MYUSERID&{LANG_GRAND_TOTAL}&price={VAL_GRAND_TOTAL}

&return=www.MYSHOP.com%2Findex.php&units=1">BUTTON IMAGE OR TEXT GOES HERE</A>

This doesn't work at all for me, so I am wrong here somewhere....

The return would not clear the cart either would it?

Sorry but I so desperately need this mod, as I have just installed v3 specifically to replace the previous unsatisfactory mod to us Mals-e with CC2.07.

Thanks for looking at this.

Link to comment
Share on other sites

Guest lancasters

Hi Mik

Yes it is weird , but necessary as we process manually every order. We need a secure way to collect the card details with SSL and then manually clear them.

There seems to be no way to set that up in CC. We have been using Mals-e cart for it all up to now but that is not good enough to add products quickly...

Link to comment
Share on other sites

AAAAAAAAAAALLRIGHT

EVERYONE!!! Here it is YA'LL!!!!

Step by step of what I did!!

As I was trying to gather the Credit Card Info in a secure server I could only use Mals-E.com so I had to figure a way to have it integrate.

The first thing I did was to see where can I insert the code to transfer the ammount ($) to Mals-E secure server for credit card payment. As I tested various pages, the easiest was the default: "Print Order Form" page GATEWAY.

Okay, here is what I did first.

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

STEP ONE:

I made the page PRINT ORDER FORM as the main payment gateway.

But I needed to state that it also took CREDIT CARDS right?

The way you can change the TEXT from "PRINT ORDER FORM" to something like "CREDIT CARD OR BY MAIL" is in the ADMIN / GATEWAYS page. As you see the list of different gateways, you'll find the PRINT ORDER FORM in the middle right below PAYSYSTEMS.

Once you click on the CONFIGURE link next to PRINT ORDER FORM you'll be able to EDIT the text of it.

(It's the one that says DESCRIPTION) I changed it from PRINT ORDER FORM to something like PAY WITH CREDIT CARD OR BY MAIL" (like I mentioned before).

So now, when the customer is checking out, when they get to the payment mothod, they'll see a radio button with the option of paying with a "CREDIT CARD OR BY MAIL"

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

STEP TWO:

Alright, now I looks like I will accept credit card payments right? (Or by mail anyways?!?!)

Now it was time to add my MALS-E code to get the information.

You see the file that the customer gets send to is the PRINT ORDER FORMS page, where it shows the total, and it also shows (if you want to pay by cheque) where they need to send the cheque to. It also shows a form in which they can print and mail it with their credit card info and their signature. I HAD TO CHANGE THIS FILE to include my MALS-E LINK!

What I needed is to pass the TOTAL AMMOUNT to the Mals-E payment gateway. I didn't need them to enter their names and address, phone number, email and all that stuff again... because they already entered it!

What I needed is to have a SECURE PAGE where they can enter their credit card info ONLY. So what I had to do is CAPTURE ALL THAT INFORMATION and pass it to the PAYMENT PAGE in MALS-E so all they need to do is enter their credit card info.

So, right below the INVOICE in the page they are in, I created a form button that gathers all the information + the total ammount owed and that needs to pass to the MALS-E payment page.

This PRINT ORDER FORM page is located here:

MODULES/GATEWAY/PRINT_ORDER_FORM/ORDERFORM.TPL

So open that page in your favorite TEXT EDITOR (you can use notepad if you don't have any other)

What you will see in there is the code that gathers all their Regular information, shipping information, products ordered, shipping costs, taxs if any, TOTAL AMMOUNT (important!) and some other stuff too.

What I did is right below the PRODUCTS,SHIPPING COST, TAX and TOTAL, I added a BIG BUTTON that says

"YOU ARE DONE, ALL YOU HAVE TO DO NOW IS MAKE THE PAYMENT - CLICK HERE!"

Here is the code I entered to create that button:

<form method="post" action="http://ww6.aitsafe.com/cf/pay.cfm">

<input type="hidden" name="userid" value="123_YOUR MALS E ACCOUNT NUMBER HERE!!!">

<input type="hidden" name="inv_name" value="{VAL_INVOICE_NAME}">

<input type="hidden" name="inv_addr1" value="{VAL_INVOICE_ADD1} {VAL_INVOICE_ADD2}">

<input type="hidden" name="inv_addr2" value="{VAL_INVOICE_TOWN}">

<input type="hidden" name="inv_state" value="{VAL_INVOICE_COUNTY}">

<input type="hidden" name="inv_zip" value="{VAL_INVOICE_POSTCODE}">

<input type="hidden" name="inv_country" value="{VAL_INVOICE_COUNTRY}">

<INPUT TYPE="hidden" NAME="qty1" value="1">

<INPUT TYPE="hidden" NAME="product1" VALUE="ORDER ID : {VAL_CART_ORDER_ID}">

<INPUT TYPE="hidden" NAME="price1" VALUE="{VAL_TOTAL_TOTAL}">

<input type="image" src="images/payment-creditcard.jpg" width=650 height=90 border="0">

</form>

As you can see, I used the same ATTRIBUTES THAT THE PAGE is already using to fill in my form in MALS-E and to pass the order ID # that cubecart already gave the user to match with the order/product sold that MALS-E will give.

LET'S BREAK IT DOWN YA?

-----------------------------------------

TOP PART:

<form method="post" action="http://ww6.aitsafe.com/cf/pay.cfm">

<input type="hidden" name="userid" value="123_YOUR MALS E ACCOUNT NUMBER HERE!!!">

This is pretty much saying where your button will go to: the MALS-E payment page.

In my case, MALS-E gave me the server: http://ww6.aitsafe.com/cf/pay.cfm . In your case it might be different, when MALS-E instructs you on how to create a "BUYNOW" button, it will give you that SERVER ADDRESS

The second line pretty much passes your USER ID to mals-e

-----------------------------------------

MIDDLE PART:

<input type="hidden" name="inv_name" value="{VAL_INVOICE_NAME}">

<input type="hidden" name="inv_addr1" value="{VAL_INVOICE_ADD1} {VAL_INVOICE_ADD2}">

<input type="hidden" name="inv_addr2" value="{VAL_INVOICE_TOWN}">

<input type="hidden" name="inv_state" value="{VAL_INVOICE_COUNTY}">

<input type="hidden" name="inv_zip" value="{VAL_INVOICE_POSTCODE}">

<input type="hidden" name="inv_country" value="{VAL_INVOICE_COUNTRY}">

This is the hidden files that pass the name, address, city, state and all the info from the client to the MALS-E payment page. Easy enough.

-----------------------------------------

THE AMMOUNT AND ORDER ID:

<INPUT TYPE="hidden" NAME="qty1" value="1">

<INPUT TYPE="hidden" NAME="product1" VALUE="ORDER ID : {VAL_CART_ORDER_ID}">

<INPUT TYPE="hidden" NAME="price1" VALUE="{VAL_TOTAL_TOTAL}">

In order for me to pass the info as a whole ammount I had to put the ORDER ID # that CUBE CART gives the customer as the PRODUCT in mals-e. I think is the best since I will be doing the transaction manually and I will need to match the numbers later on.

So in CUBE CART I have all the products that I sold in one ORDER ID #, and in MALS-E I have the payment for that particular ORDER ID # (but no products to account for, you don't need it!)

And the cool thing is that since the INVOICE in the PRINT ORDER FORM is already gathering all that information already, all I had to do was copy all of that into my form that will go to MALS-E!

So all the code that CUBECART produces is already filling in my HIDDEN FORM

-----------------------------------------

THE BUTTON:

<input type="image" src="images/payment-creditcard.jpg" width=650 height=90 border="0">

</form>

You can have a regular button if you like, I just got fancy and decided into making it a BIG IMAGE. If you just doing tests, all you have to do is have a regular HTML button if you like. Something like:

<input type="submit" value="PAY NOW">

</form>

------------------------------------------

That's it for my form!, all it is doing is passing the information to the payment page of MALS-E and mals e does the rest!

One problem I ran into is that in my MALS-E account I was making the PHONE NUMBER a requirement! and since the PRINT ORDER FORM invoice page doesn't capture the phone, I had to go into my mals-e account and change it so IT IS NOT REQUIRED to enter the phone number. Easy fix for that little mix!

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

STEP THREE:

Alright, as you can see, you can now PASS your ORDER ID # that cube card creates as the product to enter into MALS-E to coordinate charges manually, but there are a few things you want to also fix. You see, when a customer signs up, they can also check on ORDER HISTORY. In there, if they happened to order via PRINT ORDER FORM it will say that... all you have to do is delete that little line..... is a minur problem, not really if you ask me! I am just very picky on that sense so I took it out... this is very minor!!!

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

Anyways, as I was giving all of that info to you I got tired man! fingers broke now!

=P

Anyways, QUE RICO SALIO TODO BOYS AND GIRLS!!! hope that helped!

CHAU!

Link to comment
Share on other sites

Guest lancasters

Cho123456 Power to you!

Looks like that works just fine!

How did you get Mals-e window to resize to just the right size on opening??

That is a great bit of editing, thanks for sharing. It's 10:00 pm local time here I am going to try it tomorrow.....

Thanks.

Link to comment
Share on other sites

:rolleyes: :):alien::alien::alien::alien:

instead of just a regular form......... add this code:

<form method="post" action="http://ww6.aitsafe.com/cf/pay.cfm" target="mywindow" onsubmit="window.open('','mywindow','resizable=0,scrollbars=1,width=600,height=500')">

COOL EH???

Link to comment
Share on other sites

Guest GunnarGeir

Thank you cho123456 for all your informations. Can you please tell me what is going wrong whith this code. - All is working fine, the order ID and quantity are in place, on the mal's checkout site www9.aitsave.com, exept the amount/Price are missing, just -0- Can you please help?

Sorry for my english. :rolleyes:

MODULES/GATEWAY/PRINT_ORDER_FORM/ORDERFORM.TPL

<!-- BEGIN: order_form -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset={VAL_ISO}" />

<style type="text/css">

<!--

.copyText {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}

.txtCopyright, a.txtCopyright {color:#FFFFFF; font-size: 6px;}

-->

</style>

<body onload="window.print();">

<div style="margin: auto; width: 550px; border: 2px solid #cccccc; background-color:#FFFFFF;">

<table border="0" width="550" align="center" cellpadding="4" cellspacing="0">

<tr>

<td colspan="2" align="left" valign="top" class="copyText"><span style="font-weight: bold;">{VAL_STORE_NAME}</span> <br />

{VAL_STORE_URL}</td>

</tr>

<tr>

<td align="left" valign="top" class="copyText">

<strong>{LANG_INVOICE_TO}</strong>

<div style="padding: 10px;">

{VAL_INVOICE_NAME}<br/>

{VAL_INVOICE_ADD1}<br/>

{VAL_INVOICE_ADD2}<br/>

{VAL_INVOICE_TOWN}, {VAL_INVOICE_STATE}<br/>

{VAL_INVOICE_POSTCODE}<br/>

{VAL_INVOICE_COUNTRY}</div>

</td>

<td align="left" valign="top" class="copyText">

<strong>{LANG_DELIVER_TO}</strong>

<div style="padding: 10px;">

{VAL_DELIVER_NAME}<br/>

{VAL_DELIVER_ADD1}<br/>

{VAL_DELIVER_ADD2}<br/>

{VAL_DELIVER_TOWN}, {VAL_DELIVER_STATE}<br/>

{VAL_DELIVER_POSTCODE}<br/>

{VAL_DELIVER_COUNTRY}</div>

</td>

</tr>

<tr>

<td align="left" valign="top" class="copyText">

<strong>{LANG_INVOICE_RECIEPT_FOR}</strong><br />

{LANG_ORDER_OF_TIME} {VAL_TIME_DATE}

</td>

<td align="left" valign="top" class="copyText">

<strong>{LANG_CART_ORDER_ID}</strong> {VAL_CART_ORDER_ID}</td>

</tr>

<tr>

<td colspan="2" align="left" valign="bottom" style="padding: 0px;">

<table width="100%" border="0" cellpadding="7" cellspacing="0" style="padding: 7px;">

<tr>

<td class="copyText"><strong>{LANG_PRODUCT}</strong></td>

<td class="copyText"><strong>{LANG_PRODUCT_CODE}</strong></td>

<td class="copyText"><strong>{LANG_QUANTITY}</strong></td>

<td align="right" class="copyText"><strong>{LANG_PRICE}</strong></td>

</tr>

<!-- BEGIN: repeat_order_inv -->

<tr>

<td class="copyText">

{VAL_PRODUCT_NAME}<br />

{VAL_PRODUCT_OPTS}

</td>

<td class="copyText">{VAL_PRODUCT_CODE}</td>

<td class="copyText">{VAL_PRODUCT_QUANTITY}</td>

<td align="right" class="copyText">{VAL_PRODUCT_PRICE}</td>

</tr>

<!-- END: repeat_order_inv -->

<tr>

<td rowspan="4" align="left" valign="top" class="copyText">

{LANG_SHIPPING_METHOD} {VAL_SHIPPING_METHOD}

</td>

<td rowspan="4">&nbsp;</td>

<td class="copyText">{LANG_SUBTOTAL}</td>

<td align="right" class="copyText">{VAL_SUBTOTAL}</td>

</tr>

<tr>

<td class="copyText">{LANG_TOTAL_TAX}</td>

<td align="right" class="copyText">{VAL_TOTAL_TAX}</td>

</tr>

<tr>

<td class="copyText">{LANG_SHIPPING}</td>

<td align="right" class="copyText">{VAL_SHIPPING}</td>

</tr>

<tr>

<td style="border-top: 1px solid #000000;" class="copyText"><strong>{LANG_GRAND_TOTAL}</strong></td>

<td align="right" style="border-top: 1px solid #000000;" class="copyText"><strong>{VAL_GRAND_TOTAL}</strong></td>

</tr>

<form method="post" action="http://ww9.aitsafe.com/cf/pay.cfm" target="mywindow" onsubmit="window.open('','mywindow','resizable=0,scrollbars=1,width=600,height=500')">

<input type="hidden" name="userid" value="B252971">

<input type="hidden" name="inv_name" value="{VAL_INVOICE_NAME}">

<input type="hidden" name="inv_addr1" value="{VAL_INVOICE_ADD1} {VAL_INVOICE_ADD2}">

<input type="hidden" name="inv_addr2" value="{VAL_INVOICE_TOWN}">

<input type="hidden" name="inv_state" value="{VAL_INVOICE_COUNTY}">

<input type="hidden" name="inv_zip" value="{VAL_INVOICE_POSTCODE}">

<input type="hidden" name="inv_country" value="{VAL_INVOICE_COUNTRY}">

<INPUT TYPE="hidden" NAME="qty1" value="1">

<INPUT TYPE="hidden" NAME="product1" VALUE="ORDER ID : {VAL_CART_ORDER_ID}">

<INPUT TYPE="hidden" NAME="price1" VALUE="{VAL_TOTAL_TOTAL}">

<input type="submit" value="Pay by Credit Card">

</form>

</table>

</td>

</tr>

</table>

<table width="550" border="0" align="center" cellpadding="7" cellspacing="0">

<!-- BEGIN: check_true -->

<tr class="copyText">

<td><strong>{LANG_PAY_BY_CHEQUE}</strong></td>

<td>&nbsp;</td>

</tr>

<tr class="copyText">

<td colspan="2">{VAL_MAKE_CHEQUES_PAYABLE_TO}</td>

</tr>

<!-- END: check_true -->

<!-- BEGIN: card_true -->

<tr class="copyText">

<td><strong>{LANG_PAY_BY_CARD}</strong></td>

<td>&nbsp;</td>

</tr>

<tr class="copyText">

<td valign="top">{LANG_CARD_TYPE}</td>

<td>

<!-- BEGIN: repeat_card -->

<img src="images/box.gif" /> {VAL_CARD_NAME}<br />

<!-- END: repeat_card --></td>

</tr>

<tr class="copyText">

<td>{LANG_CARD_NO}</td>

<td>________________________</td>

</tr>

<tr class="copyText">

<td>{LANG_3_DIG_ID}</td>

<td>______</td>

</tr>

<tr class="copyText">

<td>{LANG_EXPIRE_DATE}</td>

<td>____________</td>

</tr>

<tr class="copyText">

<td>{LANG_ISSUE_DATE}</td>

<td>____________</td>

</tr>

<tr class="copyText">

<td>{LANG_ISSUE_NUMBER}</td>

<td>___</td>

</tr>

<tr class="copyText">

<td>{LANG_SIGNATURE}</td>

<td>________________________</td>

</tr>

<!-- END: card_true -->

<!-- BEGIN: bank_true -->

<tr class="copyText">

<td colspan="2"><strong>{LANG_PAY_BY_WIRE}</strong></td>

</tr>

<tr class="copyText">

<td>{LANG_BANK_NAME}</td>

<td>{VAL_BANK_NAME}</td>

</tr>

<tr class="copyText">

<td>{LANG_ACCOUNT_NAME}</td>

<td>{VAL_ACCOUNT_NAME}</td>

</tr>

<tr class="copyText">

<td>{LANG_SORT_CODE}</td>

<td>{VAL_SORT_CODE}</td>

</tr>

<tr class="copyText">

<td>{LANG_AC_NO}</td>

<td>{VAL_AC_NO}</td>

</tr>

<tr class="copyText">

<td>{LANG_SWIFT_CODE}</td>

<td>{VAL_SWIFT_CODE}</td>

</tr>

<tr class="copyText">

<td>{LANG_ADDRESS}</td>

<td>{VAL_ADDRESS}</td>

</tr>

<!-- END: bank_true -->

<!-- BEGIN: cust_notes -->

<tr class="copyText">

<td colspan="2">{VAL_CUST_NOTES}</td>

</tr>

<!-- END: cust_notes -->

</table>

<p align="center" class="copyText" style="font-size: 16px;">{LANG_THANK_YOU}</p>

<p align="center" class="copyText">{LANG_SEND_TO} {VAL_STORE_ADDRESS}</p>

</div>

</body>

</html>

<!-- END: order_form -->

Link to comment
Share on other sites

Remember the url isnt alwals ww6.aitsafe.com

different accounts have different urls - ive got a few with ww6, ww5, ww9

also Userid beginning with 4 or less use www in links & forms

so if it doesnt work for you.. CHECK with your mals setup for your correct url

At present ive been working on a direct payment module for mals e all is working except 1 part.. i hope to have this done by the end of the day.. if not expect it by end wednesday

Included:

Custom url

Language Options

Full Address Passing/checking on both Delivery and Invoice

Full Product List (hopefully)

hugs to all

Kitten

Link to comment
Share on other sites

Guest lancasters

Sorry cho123456

It doesn't work for me... :D

The cart is not adding it all up to a correct total.

The form is not actually passing on things that Mals-e needs. (the button I am using says "review cart"

I can configure Mals-e not to require them, but when I do it doesn't pass on the total.

Also the first order that is made by a customer after logging in gets to step 3 of the process then at step 4 the cart is empty??

If they stay logged in and do it again the cart adds up a total!!

Whoa is me!

You can try it here: www.devotion.co.uk/shop/

username - [email protected]

password - password

(thought if I set it up like the master's it would work like the master's!)

:)

Link to comment
Share on other sites

LANCASTER

I know what your problem is.......

Some of it it's the way you are passing info to MALS-E..

but most of it it's the fact that your PRINT ORDER FORM page is not adding the totals....... so if that page isn't adding the totals, it is passing an incorrect TOTAL ammount already to mals-e.

OKAY CHECK THIS OUT

First, you need to go to your MALS-E account and make EMAIL field as NON-REQUIRED FIELDS. The reason is that the PRINT ORDER FORM page doesn't pull the email field from the rest.... so it won't pass it to mals-e since it doesn't have it.

Next, the TOTAL ammount is being passed but it's incorrect... it's not adding the total ammount, it is showing TOTAL $3.00 (which is only the ship charges).

So, next thing I've noticed is that the total is not being put inside the form that takes you to MALS-E....... that is the following field:

<INPUT TYPE="hidden" NAME="price1" VALUE="{VAL_TOTAL_TOTAL}">

it seems that you are putting this instead:

<INPUT TYPE="hidden" NAME="price1" VALUE="">

Remember that County or state is not

{VAL_INV_STATE} but it is {VAL_INV_COUNTY} I got confussed on that too!

and the country is also missing, so check on those three!!!

it should work..... and after you make all those variables pass to Mals-E, it would be better if fix y our PRINT ORDER FORM to add all of the totals correct, or it will be passing the wrong total to MALS-E.

hope that helped muchacho!

chau

:):D :P

Link to comment
Share on other sites

:) :D:P

GUNNARGEIR!!

You are entering the total ammount as:

{VAL_TOTAL_TOTAL}

it should be

{VAL_GRAND_TOTAL}

that should fix your total ammount!

Link to comment
Share on other sites

Guest lancasters

Thanks Guys.

Got that 9:30pm local time must-get-out-of-work-feeling!

Gonna clear my head for tomorrow.

Thanks a lot.

(how was the skin style for you?? - my first ever try at this sort of thing) :)

Link to comment
Share on other sites

Guest lancasters

Ok it is really broken..

I think that underneath my problems here there is a really fundamental CubeCart problem, it is referred to in other threads.

The cart is not working 100% anyway!

After the last fix suggested by you guys, the cart just broke down.

In the steps 1 - 4 of checking out:

step 1 - responds to deleting items/adding items by code - adds total OK

step 2- responds to deleting items/adding items by code and editing addresses - adds shipping to total OK

step 3- shows payment choice payment button OK - can still see that customer is logged in

step 4- after you press continue you get to a screen that says your shopping cart is empty! Also shows you are not logged-in it says welcome guest.

I am going to have to leave this version now and wait for things to mature.

I usually only adopt a program after version 3.3 anyway!

Back to 2.7 and it's clunky but working Mals-e mod.

I do not have time to fix this - I need a working shop tomorrow ( or I'm toast )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share




×
×
  • Create New...