Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • dillorscroft 198 posts 192 karma points
    Nov 05, 2010 @ 18:14
    dillorscroft
    0

    Sending email confirmation + Payment Gateway.

    Hi,

    I guess I'm being daft but I can't see where/how to send a confirmation email.  I have picked an email to be sent but can't really see how I can generate an invoice in there.  Where/how do I get the data?

    My main issue though is when to send the email.  Do I send before executing the Checkout() or should the email be part of the pipeline not the XSLT?

    I tried it in XSLT but the CommerceLibrary:SendEmail() method requires the ordernumber which isnt generated until checkout is called.  As soon as checkout is called though it removes the reference to the basket.

    Also at what point in the process would I push out to hosted credit card gateway like Worldpay?  Is this after the call to checkout?  < I doubt that but wasnt sure.  How do I update the payment status?

    Any help appreciated.....even a link to the API docs if there are any?

    Thanks

    DC

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 06, 2010 @ 09:17
    Søren Spelling Lund
    1

    Hi,

    Here's an article on how to send e-mail. The preferred way to do it is using pipelines. The latest uCommerce release comes with a pipeline task which can send any e-mail you set. Sending E-mail using uCommerce.

    Generally speaking you shouldn't checkout before payment is confirmed with the payment gateway. The way uCommerce does it with the built in payment providers is to execute a pipeline once the callback is received from the payment provider, usually that pipeline would be the checkout pipeline. You can read more about in the article Integrating with a Payment Gateway using External Payment Windows or specifically in Setup uCommerce to Include PayPal as a Payment Method.

    A SagePay and WorldPay provider will be rolling out shortly. Just need final testing.

    Additional documentation is available at uCommerce Documentation.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 29, 2010 @ 13:41
    Søren Spelling Lund
    0

    SagePay and RBS WorldPay providers are available in uCommerce 1.2.

Please Sign in or register to post replies

Write your reply to:

Draft