Hi,

I set up this module on with Drupal Commerce (not kickstart) site.

I have payment selection options (payment pane) in review page and Off-site payment redirect page in payment page currently as my checkout settings.

my payment method works fine, but after I complete my credit card off-site payment in https://testsecureacceptance.cybersource.com, I'm redirected to /order/xx/review page (and my order's status is still "review").

Is it how it works in demo mode or do I have to do something to be redirected to the complete page (with my order url and the "Return to the front page" message) ?

Thanks in advance

Comments

sidhees created an issue. See original summary.

jonaskills’s picture

I am having the same issue. This seems to be a new bug as we've been testing Cybersource just fine.

1. Select Pay via credit card from checkout/5311/review page.
2. Redirected to checkout/5311/payment which redirects to https://testsecureacceptance.cybersource.com/checkout
3. Select card type, enter card number, enter cvn, enter expiration date, click pay.
4. Redirected to checkout/5311/review without completing the order.

I haven't had any time to debug and figure out what has changed here, hopefully tomorrow I can look into it.

-Tom

deekayen’s picture

I don't have a client using this platform anymore and lost my access to the sandbox I was using, so I'll have to depend on someone to provide a patch and a second to review.

jonaskills’s picture

Having the same issue today. I should have some time this weekend to look at what is happening. Anyone else having the same issue?

Cheers!

fadi.assaad’s picture

Title: offsite payment redirect » Customize order status to control redirect page
StatusFileSize
new2.44 KB

Cybersource will use order status to determine the redirect page. So by setting the desired order status eventually you will control where to redirect. Set this variable 'commerce_cybersource_fail_status' to any desired order status. Default is still 'checkout_review'.

  • deekayen committed 921bbd0 on 7.x-1.x authored by fadi.assaad
    Issue #2868201 by fadi.assaad: Customize order status to control...
deekayen’s picture

Status: Active » Fixed

I didn't test this before committing. Hope it works.

fadi.assaad’s picture

StatusFileSize
new2.62 KB

Added a drupal_set_message after failed payment transaction.

  • deekayen committed a0377a4 on 7.x-1.x authored by fadi.assaad
    Issue #2868201 by fadi.assaad, deekayen: Customize order status to...
fadi.assaad’s picture

StatusFileSize
new2.63 KB
deekayen’s picture

@fadi.assadd I don't even know what you're doing now. You sent a ton of dirty patches, which I manually applied because they've got a bunch of editor metadata in them I can't apply. This thread is so done. Start a new one if you have more to add. Make a patch without your editor metadata in it and do so against the head of 7.x-1.x. It looks like you're doing it against 7.x-1.2 still.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.