Skip to Content
author's profile photo Former Member
Former Member

Transaction should not save if Credit card authorization fails-CRM

Hi all,

In CRM 4.0, we have a requirement where for the payment card authorization if fails the transaction should not get saved.

Is it possible, if yes how?

Would appreciate a response.

thanks in advance,

mdv.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 12, 2007 at 07:44 PM

    Hi mdv,

    First of all you need to define Checking group and then assign the checking group to transaction. This is done in transaction SPRO, CRM->Basic functions->Payment cards.

    Once you define and assign the system would automatically give a warning message if the checking fails. But it will still allow the user to save the transaction with warning.

    For stopping transaction from being saved if the card authorization fails, then you need to implement BADI for transaction and call the FM COM_PAYCARD_AUTH and if the result of this FM call is failed card authorization, then raise DO_NOT_SAVE exception in the BAdI.

    Reward points if I answered the query,

    Jash

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 12, 2007 at 09:12 PM

    Hi mdv,

    You can use the BADI ORDER_SAVE, method CHECK_BEFORE_SAVE. There, yuo will just have to raise the exception DO_NOT_SAVE (=1) in the case the payment card authorization has failed.

    Hope this will help.

    Reda

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.