Copied to clipboard

Flag this post as spam?

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


  • Roger Dunbar 2 posts 22 karma points
    Jul 26, 2012 @ 14:47
    Roger Dunbar
    0

    Sage Pay Integration

    Hi,

    Apologies in advance if this has been asked/answered previously, but I cannot find specific details on this.

    I'm starting my first e-commerce project and am using Tea Commerce with Sage Pay as the payment provider.

    A couple of quick queries:

    1. I've set-up a SIMULATOR account and this works correctly. However, on changing to TEST Sage Pay is returning an error specifying that the "BillingCountry value is invalid" - any ideas on why this is or how I can specify this correctly?
    2. I notice that Sage Pay sends back message details when a payment fails, whether cancelled, not authorised, rejected etc.  Is this message information being stored in the order object so that the Cancel page can report back accordingly.
    Many thanks and just want to say what a great product Tea Commerce is - been a joy to use and loving the flexibility it gives in comparison to other eCommerce solutions for Umbraco.
    Thanks,
    Roger

  • Anders Burla 2560 posts 8256 karma points
    Jul 30, 2012 @ 08:24
    Anders Burla
    1

    Hi Roger

    First - THANKS for the great words - we love making a product that people like to use and find easy learning - yet still very flexible.

    The SagePay errors isn't added to the order - it's only added as a log entry to the UmbracoLog table in the DB. But the Tea Commerce payment provider project is open source so you can go ahead and make a pull request with a new error logging or fork your own payment provider and do what ever you want :)
    https://bitbucket.org/teasolutions/tea-commerce-tea-commerce-payment-providers

    Hmm - here is the current source of the SagePay provider - and it looks like it's just sending the order.Country.CountryCode as the BillingCountry. So check your order's value for that and see it's a valid Country for your SagePay account. Should work.
    https://bitbucket.org/teasolutions/tea-commerce-tea-commerce-payment-providers/src/70868023ade0/Source/TeaCommerce.PaymentProviders/SagePay.cs

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft