Webshop Plus! v.3.2 for WWB8

This forum is dedicated to discussions about shopping carts/ecommerce.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
User avatar
Patrik iden
 
 
Posts: 538
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Fri Jan 06, 2012 4:23 pm

Hi, I'm now trying your New Webshop. I cany recalculate or checkout from the cart.php page. Could you take a look?

http://test3.fcab.se/cart/

Original login.

Thank's

User avatar
Navaldesign
 
 
Posts: 1003
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Fri Jan 06, 2012 5:36 pm

From the Administration area online instructions:

Important! Recalculate, Checkout, and Continue Shopping buttons text.
-------------------------------------------------------------------------------------

You MUST type the text of the 3 buttons used in the "cart" page EXACTLY as you have it in your buttons, or the cart page will not work properly

Recalculate Button text: Uppdatera

Checkout Button text: Checka ut

Continue Shopping Button text: Fortsätt handla

But, you have the three buttons as "Recalculate, Checkout, Continue Shopping"

How can it ever work ?
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 538
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Fri Jan 06, 2012 8:14 pm

OK, Sorry i missed that :oops:
Thank's

User avatar
ColinM
 
 
Posts: 469
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia
Contact:

Webshop Plus! v.3.0 RC | Alt Web Host Approach?

Post by ColinM » Sat Jan 07, 2012 2:17 am

Hi George,

Rather than taking the installation approach (per the PDF doco pages 4-5 applicable steps), could you not simply extract the downloaded zip file to your project, ensure the DBTS Form Processor is installed in WB (through the forms catagory of the extension manager), then publish all content to your web server as you would a std web project? Or is there content required on your web server that would be missed using this approach?
Yours truly
Colin M
Western Australia
My Website

User avatar
Navaldesign
 
 
Posts: 1003
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Sat Jan 07, 2012 5:28 am

Hi Colin,

The backend is not available as WWB project, so the files need be uploaded. Although the backend layout is also developed in WWB and has most code embedded in the pages, I don't like the idea of each user messing with the backend and then asking for support. This is standard even with paid scripts, the backend is never delivered as project of whatever type, to avoid users making amendments. An experienced user can always make amendments to the PHP files, if he has ebough knowledge and coding experience.

It only takes a single Drag & Drop of the entire "cart" folder in your favorite FTP software.

At this point you have the "standard" demo cart working on your hosting account, to test as you like.

Customizing your cart "public" pages simply involves modifying the WWB project and publishing.
www.dbtechnosystems.com

User avatar
ColinM
 
 
Posts: 469
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by ColinM » Sat Jan 07, 2012 5:35 am

Ok, thanks for that George - fair enough re the back end comment.

At this point you have the "standard" demo cart working on your hosting account, to test as you like
??? - Did you go to my site - or I'm confused (sorry) as to what you mean by that?

I take it ALL objects and folders in, and subordinate to the cart folder need to be FTP'ed?
Yours truly
Colin M
Western Australia
My Website

User avatar
Navaldesign
 
 
Posts: 1003
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Sat Jan 07, 2012 5:53 am

No, I didn't go to your site, what I mean is that once you have FTP'ed the files, "At this point you have the "standard" demo cart working on your hosting account, to test as you like"

With most modern FTP clients, it is enough that you drag and drop the "cart" folder from your computer to the root directory of your hosting account, and ALL content is correctly FTP'ed with the correct folder structure.
www.dbtechnosystems.com

User avatar
ColinM
 
 
Posts: 469
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by ColinM » Sat Jan 07, 2012 5:59 am

No, I didn't go to your site, what I mean is that once you have FTP'ed the files, "At this point you have the "standard" demo cart working on your hosting account, to test as you like"
Ahhh! Cheers George 8)

With most moders FTP clients, it is enough that you drag and drop the "cart" folder from your computer to the root directory of your hosting account, and ALL content is correctly FTP'ed with the correct folder structure.
True - so I'll take that as a yes George. :D
Yours truly
Colin M
Western Australia
My Website

User avatar
ColinM
 
 
Posts: 469
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by ColinM » Sat Jan 07, 2012 7:12 am

By the way George - absolutely AWEsome piece of kit mate! 8)
Yours truly
Colin M
Western Australia
My Website

User avatar
Patrik iden
 
 
Posts: 538
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Thu Jan 12, 2012 6:10 pm

Hi, George. Could you take a look at this code, if it would work to implement in your shop, or if and what to change (if you have the time and will?). It is for the Swedish payment service Payson.se

Thank's

The code:

Code: Select all

<?php 

################################################################################### 
// PAYSON parametrar 

// AgentID - finns under menyn "Mitt konto/Integration" när du är inloggad 
$AgentID = '1234'; 

// MD5-nyckel - finns under menyn "Mitt konto/Integration" när du är inloggad 
$Key= '1234abcd-1234-abcd-abc-987654321abcd'; 

// Beskrivning av vad beställning avser, visas i kundens kontohistorik  
$Description = 'Beställning från Ditt butiksnamn'; 

// Butikens eller webbplatsens e-postadress OBS! Måste vara samma som ditt Payson-konto 
$SellerEmail =    'order@dinwebbplats.se'; 

// Totalsumman för beställningen, hämtas från ditt orderformulär 
$payson_totalsumma = $_SESSION['totalsumma']; 

// Köparens e-postadress, hämtas från ditt orderformulär 
$BuyerEmail    = $_SESSION['email']; 

// Totalsumman enligt ovan 
$Cost =    $payson_totalsumma; 
// Totalsumma när du testar din Payson-betalning 
//$Cost =    '5,00'; 

// Extra kostnader som tex frakt 
$ExtraCost = '0,00';  

// Bekräftelse-sida som visas när Payson-betalningen genomförts 
$OkUrl = 'http://dinwebbplats.se/payson_betalning/payson_betalning_klar.php'; 

// Error-sida som visas om Payson-betalningen avbrutits (du behöver normalt inte ange något här) 
$CancelUrl = 'http://dinwebbplats.se/payson_betalning/error.php'; 

// Referensnr som kan vara kundID eller annat som identifierar betalningen 
// Om du inte anger något här kan du använda kundens e-postadress $BuyerEmail för att identifiera betalningen 
$RefNr = $_SESSION['kund_id']; 

// Ange 1 för att inte erbjuda paysongarantin eller 2 för att erbjuda paysongaranti 
// Läs mer om Paysongarantin här: http://www.payson.se/About/Guarantee/  
$GuaranteeOffered = "1"; 

// MD5-hash beräknas från parametrarna ovan 
$MD5string = $SellerEmail . ":" . $Cost . ":" . $ExtraCost . ":" . $OkUrl . ":" . $GuaranteeOffered . $Key; 
$MD5Hash = md5($MD5string); 


################################################################################### 
// PAYSON formulär 
// TEST 
// <form action="https://www.payson.se/testagent/default.aspx" method="post"> 
echo' 
<form action="https://www.payson.se/merchant/default.aspx" method="post"> 
<input type="hidden" name="BuyerEmail" value="'.$BuyerEmail.'" /> 
<input type="hidden" name="AgentID" value="'.$AgentID.'" /> 
<input type="hidden" name="Description" value="'.$Description.'" /> 
<input type="hidden" name="SellerEmail" value="'.$SellerEmail.'" /> 
<input type="hidden" name="Cost" value="'.$Cost.'" /> 
<input type="hidden" name="ExtraCost" value="'.$ExtraCost.'" /> 
<input type="hidden" name="OkUrl" value="'.$OkUrl.'" /> 
<input type="hidden" name="CancelUrl" value="'.$CancelUrl.'" /> 
<input type="hidden" name="RefNr" value="'.$RefNr.'" /> 
<input type="hidden" name="MD5" value="'.$MD5Hash.'" /> 
<input type="hidden" name="GuaranteeOffered" value="'.$GuaranteeOffered.'" /> 
<input type="submit" value="Klicka h&auml;r f&ouml;r att betala!" /> 
<br /><br /> 
<img src="payson_logo/payson145x42.png" alt="Betala med Payson" /> 
</form> 
'; 
################################################################################### 

?> 

User avatar
Navaldesign
 
 
Posts: 1003
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Thu Jan 12, 2012 7:18 pm

I believe you can implement it yourself, there should be no difficulties.

I can't implement something so specific as a generic solution, as Webshop aims to be a codeless solution, adding this would mean that I should make lots of additions in the Administartion interface.
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 538
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Thu Jan 12, 2012 7:38 pm

Navaldesign wrote:I believe you can implement it yourself, there should be no difficulties.

I can't implement something so specific as a generic solution, as Webshop aims to be a codeless solution, adding this would mean that I should make lots of additions in the Administartion interface.
OK, i'm not to shore how to implement this. Could i just take value code from the Paypal code and replace the values in the Payson code?

Mayne this way i only need the "form code" not the code upove the form code of Payson code? I'm not shore :oops:

User avatar
Navaldesign
 
 
Posts: 1003
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Thu Jan 12, 2012 8:07 pm

The problem are the very first lines,

// Error-sida som visas om Payson-betalningen avbrutits (du behöver normalt inte ange något här)
$CancelUrl = 'http://dinwebbplats.se/payson_betalning/error.php';

// Referensnr som kan vara kundID eller annat som identifierar betalningen
// Om du inte anger något här kan du använda kundens e-postadress $BuyerEmail för att identifiera betalningen
$RefNr = $_SESSION['kund_id'];

// Ange 1 för att inte erbjuda paysongarantin eller 2 för att erbjuda paysongaranti
// Läs mer om Paysongarantin här: http://www.payson.se/About/Guarantee/
$GuaranteeOffered = "1";

// MD5-hash beräknas från parametrarna ovan
$MD5string = $SellerEmail . ":" . $Cost . ":" . $ExtraCost . ":" . $OkUrl . ":" . $GuaranteeOffered . $Key;
$MD5Hash = md5($MD5string);

If you set correctly these lines, the Payson payment button is very simple to use.

Since I don't understand your language and I haven't read the Payson documentation, I don't even know what the variables contained in these lines are.
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 538
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Thu Jan 12, 2012 9:03 pm

I made a translation of thees parameters:

Code: Select all

// Error-page that appears if the Payson-payment is interrupted (you need not normaly enter anything here) 
$CancelUrl = 'http://dinwebbplats.se/payson_betalning/error.php'; 

// Reference number can be customer id, or anything that identifies the payment 
// If you do not specify anything here, you can use the customer's email address $BuyerEmail to identify the payment 
$RefNr = $_SESSION['kund_id']; 

// Enter 1 for not offering Payson Guarantee or two to offer Payson Guarantee 
// Learn more about Payson guarantee here: http://www.payson.se/About/Guarantee/
$GuaranteeOffered = "1"; 

// MD5-hash calculated from the parameters above 
$MD5string = $SellerEmail . ":" . $Cost . ":" . $ExtraCost . ":" . $OkUrl . ":" . $GuaranteeOffered . $Key; 
$MD5Hash = md5($MD5string); 

User avatar
Patrik iden
 
 
Posts: 538
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Thu Jan 12, 2012 9:14 pm

Now i translated the hole thing:
More info: http://api.payson.se/

Code: Select all

<?php 

################################################################################### 
// PAYSON parametrar 

// AgentID - found under the "My Account / Integration" when you are logged in 
$AgentID = '1234'; 

// MD5-key - found under the "My Account / Integration" when you are logged in
$Key= '1234abcd-1234-abcd-abc-987654321abcd'; 

// A description of what the order relates to, is shown in the customer's account history  
$Description = 'Order from Your store name'; 

// Store or the site's email address NOTE! Must be the same as your Payson Account
$SellerEmail =    'order@dinwebbplats.se'; 

// The total of your order, from your order form
$payson_totalsumma = $_SESSION['totalsumma']; 

// Buyer's e-mail, from your order form 
$BuyerEmail    = $_SESSION['email']; 

// Grand total from the parameters above 
$Cost =    $payson_totalsumma; 
// Grand total when you test your Payson-payment
//$Cost =    '5,00'; 

// Additional costs such as shipping 
$ExtraCost = '0,00';  

// The confirmation page that appears when Payson-payment has been made
$OkUrl = 'http://dinwebbplats.se/payson_betalning/payson_betalning_klar.php'; 

// Error-page that appears on the Payson-payment is interrupted (you need not normaly enter anything here)
$CancelUrl = 'http://dinwebbplats.se/payson_betalning/error.php'; 

// Reference can be customer id, or anything that identifies the payment
// If you do not specify anything here, you can use the customer's email address $BuyerEmail to identify the payment 
$RefNr = $_SESSION['kund_id']; 

// Enter 1 for not offering Payson warranty or two to offer Payson Guarantee
// Learn more about this Paysongarantin: http://www.payson.se/About/Guarantee/  
$GuaranteeOffered = "1"; 

// MD5-hash calculated from the parameters above
$MD5string = $SellerEmail . ":" . $Cost . ":" . $ExtraCost . ":" . $OkUrl . ":" . $GuaranteeOffered . $Key; 
$MD5Hash = md5($MD5string); 


################################################################################### 
// PAYSON form 
// TEST 
// <form action="https://www.payson.se/testagent/default.aspx" method="post"> 
echo' 
<form action="https://www.payson.se/merchant/default.aspx" method="post"> 
<input type="hidden" name="BuyerEmail" value="'.$BuyerEmail.'" /> 
<input type="hidden" name="AgentID" value="'.$AgentID.'" /> 
<input type="hidden" name="Description" value="'.$Description.'" /> 
<input type="hidden" name="SellerEmail" value="'.$SellerEmail.'" /> 
<input type="hidden" name="Cost" value="'.$Cost.'" /> 
<input type="hidden" name="ExtraCost" value="'.$ExtraCost.'" /> 
<input type="hidden" name="OkUrl" value="'.$OkUrl.'" /> 
<input type="hidden" name="CancelUrl" value="'.$CancelUrl.'" /> 
<input type="hidden" name="RefNr" value="'.$RefNr.'" /> 
<input type="hidden" name="MD5" value="'.$MD5Hash.'" /> 
<input type="hidden" name="GuaranteeOffered" value="'.$GuaranteeOffered.'" /> 
<input type="submit" value="click here to pay!" /> 
<br /><br /> 
<img src="payson_logo/payson145x42.png" alt="Pay with Payson" /> 
</form> 
'; 
################################################################################### 

?> 

Post Reply