Payment like Paypal

Payment like Paypal,Google checkout in Magento

1)Google checkout payment;

    1.1)Configurationfiles:

        1.1.1)Special points in the config.xml;
        There will be one attribute namedenable_googlecheckout in the sale items.

        1.1.2) Define google checkout variables bysystem.xml;
        Google checkout needs valid Merchant ID andMerchant Key.

    1.2)Controllerfiles:

    classMage_GoogleCheckout_RedirectController is responsible for allaspects of front-end handling.

    1.3)Model files:

    classMage_GoogleCheckout_Model_Apiis used as a factory to callcheckout,order,callback API.

    The API model classmakes use of curl and xml data to communicate with Google checkoutserver.

    1.4)Overallprocess:
        First, your customer will be asked to log intotheir Google account. This is separate from any account they mayhave created within your store. The information they provide here,such as the name, email, and addresses, will be sent back toMagento and display in the order information.
        Magento will upload all products in yourcustomer’s shopping cart to the Google Checkout page, includingquantity and price. This cannot be updated directly from GoogleCheckout, as it can from Magento checkout. In order to modifyquantities or remove items, the customer must navigate back totheir cart in Magento and make these edits.
        Your customer can choose their preferredShipping & Handling method from the drop-down menu. Theavailable methods in the menu can be configured in the Google APIpage in the Magento admin.
        The tax will be calculated according to theguidelines established in the Magento admin, in Sales > Tax. Thetax guidelines established in Settings > Tax setup in the GoogleCheckout seller account will not have any bearing on theorder.
        If your customer chooses to Keep my emailaddress confidential, their real email address will not be providedto Magento. The email address displayed in the order page will havea checkout.google.com domain name, and the order confirmation senthere will be directed by Google to the user’s actual emailaddress.
        If your customer chooses I want to receivepromotional email from [Business Name] it should subscribe theemail address received from Google Checkout to the store newsletter(also a checkout.google.com domain if customer opts forconfidential email address).
        When your customer is done, they will press thePlace your order now button. This will automatically send a recordof the order to your seller account in Google, and Google will sendthis information to Magento as well, where a record of the orderwill be created in Sales > Orders. Your customer will see anorder confirmation message, and a link to return to yoursite. 
        Additionally, if you have email notificationenabled, your customer can receive order confirmation emails fromboth Google and Magento.


2)PayPal checkout payment;

    PayPal check outincludes two types: standard and express. Both of them usedVarien_Http_Adapter_Curl
    to prepare for requestdata and post them to PayPal API. According to response data,Magento
    internal checkoutprocess are carried out further.

    2.1) Paypal AdaptivePayments
    In this situation amerchant on receiving an order will have to pay to differentparties like packaging, shipping, cargo handling etc. Or supposethere is an advertised product on website from third party, on itssale a share will go to the third party and the main siteowner. 
    Customer who purchasesthis product can view the details of all payments receivers likethird parties on invoice. In this way multiple transactions aresummarized into one. Similarly any change to part of it will notaffect whole transaction.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值