Skip to content

Awais786/ecom 662 decline error - #6430

Merged
awais786 merged 1 commit into
masterfrom
awais786/ECOM-662-decline-error
Jan 6, 2015
Merged

Awais786/ecom 662 decline error#6430
awais786 merged 1 commit into
masterfrom
awais786/ECOM-662-decline-error

Conversation

@awais786

@awais786 awais786 commented Jan 2, 2015

Copy link
Copy Markdown
Contributor

@wedaly Please review the PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to make sure this accurately simulates the response from the payment processor, this method should delete auth_amount when the decision is not "ACCEPT"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wedaly I made this change.Please check it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, still not seeing it. It looks like _signed_callback_params() is still returning a dictionary with an auth_amount key.

@wedaly

wedaly commented Jan 2, 2015

Copy link
Copy Markdown
Contributor

@awais786 This looks really good! I had two small comments, and I'd like @srpearce (on our doc team) to review the new error message before this gets merged.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested text:

We're sorry, but this payment was declined. The items in your shopping cart have been saved.

If you have any questions about this transaction, please contact us at {email].

@awais786
awais786 force-pushed the awais786/ECOM-662-decline-error branch from 948f80c to 326ad9e Compare January 5, 2015 10:28
@wedaly

wedaly commented Jan 5, 2015

Copy link
Copy Markdown
Contributor

👍 once my last comment is addressed.

Adding decline button in fake payment page.
In of case ERROR, CANCEL, and DECLINE removing auth_amount from test cybersource2 and payment fake.
@awais786
awais786 force-pushed the awais786/ECOM-662-decline-error branch from 761d605 to dfb366a Compare January 6, 2015 13:25
awais786 added a commit that referenced this pull request Jan 6, 2015
@awais786
awais786 merged commit cb6a4db into master Jan 6, 2015
@benpatterson
benpatterson deleted the awais786/ECOM-662-decline-error branch January 7, 2015 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants