function setupPlaceholder(inputid) {
if ($.browser.webkit) return false; var target = $('#' + inputid);
if (target.length == 0) { target = $('input[type="text"], input[type="email"], input[type="search"]'); }
target.each(function (i, el) {
el = $(el);
var ph = el.attr('placeholder');
if (!ph) return true;
el.addClass('placeholder');
el.attr('value', ph);
el.attr('style', 'color:grey');
el.focus(function (e) {
if (el.val() == ph) {
el.removeClass('placeholder');
el.attr('value', '');
el.attr('style', 'color:black');
}
});
el.blur(function (e) {
if ($.trim(el.val()) == '') {
el.addClass('placeholder');
el.attr('value', ph);
el.attr('style', 'color:grey');
}
});
});
}
Friday, April 25, 2014
Monday, March 24, 2014
HttpRequest.QueryString and NameValueCollection
http://forums.asp.net/t/1838205.aspx?HttpRequest+QueryString+and+NameValueCollection
ok...found... Request.QueryString returns an HttpValueCollection that extends NameValueCollection ... but msdn reference states NameValueCollection
HttpValueCollection makes the concatenation when i call ToString()
HttpUtility.ParseQueryString returns HttpValueCollection too... msdn should say something like that, i read and go crazy
Friday, March 14, 2014
Thursday, March 13, 2014
Saturday, February 22, 2014
copy your local Orchard CMS site to your Hosting server
Yes you can copy your local Orchard CMS site to your Hosting server.
1. Open your Orchard CMS site in Webmatrix, go to the database tab and then click Migrate this will migrate your SQL Server Compact database to SQL Server express or Developer edition whatever you have.
2. Create a .bak file of that migrated database and upload it your hosting database server.
3. Inside your \App_Data\Sites\Default folder you will have to change the database connection string within the settings file.
4. Upload your Orchard CMS site folder to the server using ftp.
Your done.
Friday, February 21, 2014
Thursday, February 13, 2014
set up paypal, credit card in nopcommerce
nopCommerce Tips: Configuring PayPal and nopCommerce - See more at: http://blog.arvixe.com/nopcommerce-tips-configuring-paypal-and-nopcommerce/#sthash.YrePiWMP.dpuf
PayPal is one of the most widely accepted methods of online payment in the world; it only makes sense that many e-commerce sites use it as a means of accepting payment from their customers. Today, we’ll go over how to integrate PayPal payment processing with your nopCommerce site.
PayPal Setup:
- Log into your PayPal account; under the “My Account” tab, select “Profile”>”My Selling Tools”.
- Under the section “My business setup”, you’ll see “Website preferences” – click “Update” on this line
- Turn “Auto-return” to “On”, and enter “http://{YourStoreURL}/PaypalPDTHandler.aspx” for “Return URL”
- Turn “Payment Data Transfer” to “On”
- All entries below this are optional, based upon your business requirements.
- Click “Save”
For nopCommerce:
log into your nopCommerce instance as an administrator, and navigate to the Administration area. Click on “Configuration”>”Payment Methods”: click on the “Configure” link next to the entry for “PayPal Standard”.
- Uncheck the box “Use Sandbox”
- Enter your PayPal account e-mail address for “Business E-Mail”
- Next you’ll enter your “Identity Token” you’ll obtain from your PayPal account into the field “PDT Identity Token”
- Leave “:” checked
- If you wish to charge an additional surcharge for PayPal transactions, add your surcharge to “:”
- Check both “:”, and “:”
- For “IPN Handler”, enter “http://{YourStoreURL}/Plugins/PaymentPayPalStandard/IPNHandler”
- Click “Save”.
http://www.nopcommerce.com/docs/76/how-to-code-my-own-payment-method.aspx
For Credit Card:
1) Go to Admin section > Configuration > Payment > Payment Methods
2) Select "Manual Processing " > Click on "EDIT" against it
3) Mark the checkbox "Active:"
4) Save Changes
For Pay Pal:
I am assuming that you want to configure paypal express (Since you didn't mention)
1) Go to Admin section > Configuration > Payment > Payment Methods
2) Select "PayPal Express" > Click on "EDIT" against it
3) Configure the settings
4) Mark the checkbox "Active:"
5) Save Changes
Please help about Credit Card payment.
Hi everybody :
I'm a beginner with NOP, really amazing, no words. My question : If I want to include CreditCard payment with SSL, I understand i need to : 1 - Buy SSL certificate(For example Verisign, GoDaddy...) and install, go to Config file and set to true the SSL option. 2 - Talk to my bank, but my question is Do they explain me how to do the rest of the process ?? Thanks in advance sirs ! |
0
|
Just to make sure. You are saying you want to support getting payments with a credit card correct. And you realize that it needs to be protected by using SSL.
Are you sure you don't want to just use Paypal. The user can pay with either their paypal account or with a Credit Card directly through paypal. Now if you want to setup SSL and Banking with a credit card company, you need a gateway etc (to verify the credit card etc). I haven't tried any of this with nopCommerce as I am using Paypal only. I do in fact have a godaddy shopping cart with a Merchant account (which allows credit card processing and in like 18 currencies). Now you will be paying a gateway fee etc (monthly) and depending on other things maybe transaction feeds (Godaddy does not charge them, but merchant gateways do in many cases, and so do credit cards). I am sorry I couldn't specifically answer you, except I will so, I am certain your credit card processing company (whomever that is, your bank etc) will do their best to tell you how to connect, test etc in their sandbox etc. Still Paypal, is way easier and its free to you. |
0
|
(PayPal is not free for businesses - e.g. in the US 2.9% +0.30 per trans US, 3.9% + 0.3 international)
You need to have a Payment Processor (gateway). For example, Authorize.NET (see how it works), or for example in Spain see plugin for Sermepa. Payment processors should be able to work with your bank. |
1
|
www.noptools.com
Subscribe to:
Posts (Atom)