e-commerce

Paypal Express - Add Discount

≯℡__Kan透↙ 提交于 2019-12-03 11:21:11
I'm currently posting a regular transaction to Paypal Express and am reaching the gateway without error. I would like to now configure my cart to send a discount to the gateway. My first thought was to modify the 'AMT' value that is sent to the gateway. However, it seems that Paypal validates the 'AMT' field by calculating the total of the ITEMAMT , TAXAMT and SHIPPINGAMT fields to ensure the total is unchanged: [L_AMT0] => 49.99 [L_NUMBER0] => 3706{3}8 [L_QTY0] => 1 [L_TAXAMT0] => 0.00 [ITEMAMT] => 49.99 [TAXAMT] => 0 [SHIPPINGAMT] => 14.95 [AMT] => 64.94 How many I send a discount to Paypal?

Spree, Rails 3, and theming

别说谁变了你拦得住时间么 提交于 2019-12-03 09:45:42
问题 Well, I've been trying to change the default theme of spree by following this tutorial http://blog.endpoint.com/2010/01/rails-ecommerce-spree-hooks-tutorial.html But the homepage doesn't change at all, well since the tutorial is meant for rails 2, I'm just wondering what do I need to change from the tutorial to make it work with rails 3? Simpler solution than using hooks is welcomed. Also while I'm at it, is there a way to undo the command you run in rails like maybe uninstalling an extension

How can I use Stripe to delay charging a customer until a physical item is shipped?

北城以北 提交于 2019-12-03 09:41:29
问题 I'm in the process of building an online marketplace which sells shippable goods. The site will be similar to Etsy, which will connect merchants with buyers. I'd like to be able to charge a customer's card ONLY when an item is shipped by a merchant to avoid chargebacks and provide an Amazon-like payment experience. This will also help us avoid chargebacks and payment disputes in case a merchant is slow to ship or flakes out. In some cases, the goods will take more than 7 days to be custom

What eCommerce application is this?

五迷三道 提交于 2019-12-03 09:00:24
I have seen a lot of sites using this URL structure: webapp/wcs/stores/servlet webapp/wcs/stores/OrderShippingDisplayView What application is it? Lots of the competition of my client sites use this in their sites. TheBlackBenzKid IBM WebSphere Commerce I suspect down-vote mob for this but here goes..The application is IBM WebSphere Commerce , a Java based application. Very powerful application, but obviously for enterprise companies, so that means your customer must be ready to shell out some big bucks. I'm not sure if you can offer this directly to your customer though, or if you need to

Currency Conversion for E-commerce site - Preventing incorrect Total Cart due to rounding

匿名 (未验证) 提交于 2019-12-03 08:59:04
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm adding multi-currency support to an e-commerce application. The way I approached the problem was to keep the application in it's base currency and have the template call a priceDisplay() function/plugin anytime it displays a price. So the template continues to receive prices in dollar amounts. The priceDisplay function correctly converts the price if needed and adds the correct $ or Euro sign depending on the viewers settings, stored in the session. On order submit, the application will store the order in dollar amount as well as the

Which PHP open source shopping cart solutions have features that benefit me as the web developer?

≯℡__Kan透↙ 提交于 2019-12-03 07:56:52
问题 There are hundreds of shopping cart solutions available for every platform, and all hosting plans come with several already installed. As a developer I understand that most of these are fairly similar from a user perspective. But which ones are built with the developer in mind? For example, which ones have a decent API so that my custom code doesn't get mingled with the core code or which ones have a well thought through template system so that I can easily customize it for each new client?

Looking for a lightweight ASP.net shopping cart that is PayPal compatible [closed]

守給你的承諾、 提交于 2019-12-03 07:23:41
I am currently developing a simple eCommerce site. I am looking for a lightweight non hosted ASP.net shopping cart solution that needs to Be able to talk to PayPal Integrate with current site Preferably handle PayPal's Instant Payment Notification The current site uses PayPal buy it now buttons or PayPal's add to cart buttons. The issue I have with PayPal's cart is that it allows buyers to update the quantities of items in their cart prior to checkout which is unacceptable because each item in this site is unique (i.e. quantity 1). I wrote a handler for PayPal's Instant Payment Notification in

Magento 2 goes terribly slow (Developer mode)

那年仲夏 提交于 2019-12-03 06:38:55
问题 Recently I started developing magento 2 projects. First I tried on Windows with xampp and it was a mess... every refresh page was a nightmare, about 30-40sec to load the page. I read about it, that Windows system files is so slow working with magento because the large structure it has, and the article almmost was forcing you to use linux for developing on magento projects. The problem is I need Windows for another company apps that only works on Windows, I tried to install a virtual machine

magento sales_order_place_after observer

梦想的初衷 提交于 2019-12-03 05:33:45
I'm trying to write an observer that will export order data when an order is placed. I haven't written any modules before. Basing my implementation on this article: http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/customizing_magento_using_event-observer_method so far I'm just trying to trigger some dummy code to write to a file. I'm not getting anything showing in my log, and the file's not being modified. The apache user has permission for the directory. I've disabled configuration caching in the Magento settings. I'm a little confused on some

Shopping Cart API for any payment gateway? (PayPal at least required)

南笙酒味 提交于 2019-12-03 05:08:41
I'm trying to find a java based API that wraps up the details of processing a credit card transaction or purchase via PayPal at a minimum, and other gateways as a plus in an IPN fashion (ie no products required, just an invoice amount) As a bit of a simplification, I think I should be able to do something like the following pseudocode: shoppingApi.postTransaction("paypal", amount, currency, invoiceId, purchaseDescription) and later on during a scheduled task or on notification from an IPN url: completedPayments = shoppingApi.getUnprocessedCompletedPayments(); for (Payment payment: