How this is not a default I do not know, but none the less if you need an eWay payment module for Cartweaver find it below. There is not much to it, I have just modified the example code the eWay provide to fit into Cartweaver 3.
You will need to change a few lines of code to use your eway Customer Id and to receive email notifications.
Line 91: $eWAY_CustomerID = "00000000"; // Set this to your eWAY Customer ID Line 93: $eWAY_PaymentMethod = EWAY_PAYMENT_LIVE_REAL_TIME_CVN; // Set this to the payment gatway you would like to use (REAL_TIME, REAL_TIME_CVN or GEO_IP_ANTI_FRAUD) Line 93: $eWAY_UseLive = true; // Set this to true to use the live gateway Line 94: $eWAY_CustomerInvoiceDescription = ""; //Max 100 characters Invoice Description Line 96: $debugEmails = true; // set to true during development to receive XML dumps of the data via email Line 105: $companyEmail = $_SESSION["CompanyEmail"]; Line 106: $developerEmail = "YOUR@EMAIL.HERE"; //$_SESSION["DeveloperEmail"] or developer email for testing Line 107: $company = "YOUR COMPANY NAME"; //$_SESSION["CompanyName"] or another company name
Save the file as CWIncEway.php in Your-Cart-Weaver-Directory/CWLibrary/ProcessPayment/
then in your application.php file change the set the following (around line 87)
$cwGlobalSettings->paymentAuthType = "gateway"; $cwGlobalSettings->paymentAuthName = "CWIncEway.php";
Download eWay Cartweaver Module
I can only offer limited support as I hate Cartweaver and don’t want to venture into that hell fire again anytime soon. This code is by no means bullet proof I knocked it out for a very specific purpose as a one off job. If you find it useful drop a comment.
No related posts.
Hi Andrew, thanks for posting this info. I have developed a cart using CartWeaver would love to try your code but the download isn’t working. Is it still available? I would like to know otherwise I will look at using another shopping cart (can you recommend one?)
That link is fixed Jeff. Let me know if it sorts things out for you