Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mark 22 posts 73 karma points
    Apr 30, 2013 @ 12:52
    Mark
    0

    Tea Commerce Newbie Questions

    Hi,

    We are shortly going to go live with our first Tea Commerce site for a customer using Umbraco 6.0.4 and Tea Commerce 2. However, I have a couple of basic questions I can't find the answer to.

    1. We are using SagePay as the payment gateway and we have been able to process a transaction with the test gateway. However, it was my belief that Tea Commerce had direct integration with the gateway (which I thought meant you'd never leave the website) and therefore I'd need an SSL certificate. 

    However, upon implimentation I've found that using the built in provider I get taken to the sagepay website in order to complete the transaction. Does this mean that I don't need an SSL certificate for my site? Is this how the provider should work or is there another option whcih allows for payment without being taken to the SagePay site?

    2. Does the transaction take place immediately or only when you press the 'capture payment' but in the Tea Commerce orders? 

    3. What does the 'cancel payment' button do? Does this perform a refund? If not, can I perform a refund in Tea Commerce or do I need to go to mySagePay to do that?

    4. If I increase the number of items in the order line (under the common tab from the orders nodes) inside tea commerce after the transation has take place, how do I then take payment for that? 

    Thanks,
    Mark

  • Anders Burla 2560 posts 8256 karma points
    Apr 30, 2013 @ 17:07
    Anders Burla
    0

    Hi Mark

    1. The out of the box implementation is the Server Integration and that uses a form redirect to the SagePay site. So no need of a SSL certificate. If you want to implement your own you can use the open source Tea Commerce Payment Provider project - https://bitbucket.org/teasolutions/tea-commerce-tea-commerce-payment-providers

    2. It depends on the TxType setting for the provider. You can set it to PAYMENT or AUTHENTICATE. PAYMENT is the option that auto captures and the other is the one where you will have to capture the amount in Tea Commerce admin interface.

    3. The cancel is only available if it is TxType = AUTHENTICATE. This just cancels the reservation of money. The refund is available when the money is captured.

    4. When the money is authenticated or captured you cant change the amount - even not at sagepay. You would have to create a new order and let the customer pay by credit card or by invoice.

    Kind regards
    Anders

  • Mark 22 posts 73 karma points
    Apr 30, 2013 @ 17:21
    Mark
    0

    Thanks Anders. All makes sense except question 2.

    Mark: Does the transaction take place immediately or only when you press the 'capture payment' but in the Tea Commerce orders? 

    Anders: It depends on the TxType setting for the provider. You can set it to PAYMENT or AUTHENTICATE. PAYMENT is the option that auto captures and the other is the one where you will have to capture the amount in Tea Commerce admin interface.

    When we used the out of the box provider then we found that it did not work because the TxType was invalid. We had to get SagePay to activate Authorise / Authenticate on the account and then our transaction worked. Are you saying that with Authorise / Authenticate that the money is only reserved until you click the 'capture payment'  button in Tea Commerce? 

    If so, the capture payment button does not seem to do anything when we press it. And I assume as no money has been taken that the cancel just removes that authorisation - no money is ever taken?

    If I set it to PAYMENT rather than AUTHENTICATE would the money be taken immediately? And if so, how do I set that method in Tea Commerce? I assume that refunds would have to take place at SagePay if required too?

     

    Thanks,
    Mark 

  • Anders Burla 2560 posts 8256 karma points
    May 01, 2013 @ 10:21
    Anders Burla
    0

    Authentication is only reserving the money - you will manually have to do a capture in the Tea Commerce interface or using SagePay.

    Cancel removes the authentication.

    About the capture button not working. Could you check the umbraco log if there is any error messages. Either in the umbracoLog DB table or in the /App_Data/Logs if you are running Umbraco 6 (think they changed it from this version)

    If you set it to PAYMENT - yes the money will be captured by SagePay - but in some countries (DK) you may not capture the money before the good has been send to delivery. You change the setting at the payment method in Tea Commerce and then go to the "Payment provider" tab and change the setting.

    Refunds can be done when an order has the captured status. You can do the refund in both Tea Commerce and SagePay.

    Kind regards
    Anders

  • Matt 91 posts 237 karma points
    May 01, 2013 @ 10:22
    Matt
    0

    We've got a little further with this now but still have a couple of questions.

    1, The capture payment button does seem to take payment now. We just assumed that it did not as we did not have MySagePay access and we expected the 'Payment State' to change. Even after we've catured payment this status stays as 'authorized'. Should this not go to something like 'captured' as it's not clear from the interface whether payment has been taken?

    2. Is it correct that in this instance the 'cancel button' does nothing?

    3. How can I set the payment type to PAYMENT (so that the money is take at the time of purchase)?

     

  • Anders Burla 2560 posts 8256 karma points
    May 01, 2013 @ 10:29
    Anders Burla
    0

    1. Try and look in the umbraco log for any errors. You find the log in /app_data/Logs

    2. In this instance yes the cancel button does nothing.

    3. You can change the settings at the payment method and then go to the "payment provider" tab and change the TxType setting

    Kind regards
    Anders

  • Matt 91 posts 237 karma points
    May 01, 2013 @ 10:43
    Matt
    0

    Thanks Anders,

    We've switched to PAYMENT and this is working well.

    However one problem (could be a bug) - the refund button does not work. The error is:

    2013-05-01 09:38:52,471 [6] INFO  umbraco.BusinessLogic.Log - [Thread 8] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: Quickpay(ORDER-3) - Error making API request: 3038 : The RelatedVendorTxCode is required.

    Could this be related to this bug? http://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/40577-Violation-of-PRIMARY-KEY-constraint-PK_TeaCommerce_CustomProperty-after-changing-Order-Status 

     

  • Anders Burla 2560 posts 8256 karma points
    May 01, 2013 @ 11:08
    Anders Burla
    100

    Hi Matt

    I think the problem is because the is a bug in the SagePay provider code. The order properties VendorTxCode and TxAuthNo - should be lower cased. Try and make a new order and then go to the DB and change the order property casing to the have a lower case starting letter - vendorTxCodeand txAuthNo. Then try again. Now it should work. You can download the latest payment provider code here and build a new dll and override the one in your project. We will add this bug fix to the next version of Tea Commerce.
    https://bitbucket.org/teasolutions/tea-commerce-tea-commerce-payment-providers

    Kind regards
    Anders

  • Mark 22 posts 73 karma points
    May 01, 2013 @ 17:09
    Mark
    0

    Thanks Anders, we'll upgrade to 2.1 and then apply this fix.

Please Sign in or register to post replies

Write your reply to:

Draft