Support

Home Forums Event Espresso Premium Check payment gateway set to 'approved'

Check payment gateway set to 'approved'

Posted: July 18, 2014 at 12:06 pm


Sebastien Matte

July 18, 2014 at 12:06 pm

Hello, I modified the check payment gateway to show ” Comptant / Cash “, and played with poedit and all that. Now, I’m trying to get the ” Transaction Status: Incomplete – retry payment ” to be automatically set to ‘ complete ‘.

Not finding how, I tried to hide only the css class linked to the transaction details, ” <div class=”ee-transaction-status”> but it hides the whole thing, “Total Cost:, Amount Owing:, Transaction Status:, Retry Payment “.

I’d either get the transaction status to be always ‘ completed’ for that payment processor, or hide that line of it’S not possible.

Any ideas on how to take care of that ?

Thanks πŸ™‚


Lorenzo Orlando Caum

  • Support Staff

July 18, 2014 at 1:23 pm

Hi Sebastien,

In this case, I would download a copy of the check payment gateway and then upload to this location:

wp-content/uploads/espresso/gateways/

Then you can edit this file:

wp-content/uploads/espresso/gateways/check/check_ipn.php

You’ll see something like this:

http://cl.ly/image/3H1M45402i2N

Change in the function above from Pending to Complete and save changes. Then run a test transaction to confirm.


Lorenzo


Sebastien Matte

July 18, 2014 at 2:54 pm

ok, that look to be what I used in EE3, I forgot to precise that I am using EE4 now — I looked into the modles > gateways > Check infos and I don’t seem to be finding the pending status there. Any idea where to look while I continue to search ?

Thanks πŸ™‚


Dean

July 21, 2014 at 1:03 am

Changing the status is a littl ebit more involved in EE4 than it is in EE3.

The easiest soution would be to hide that section using CSS:

.espresso_payment_overview h3:nth-of-type(2) { display:none; }
.ee-transaction-status { display:none; }


Sebastien Matte

July 21, 2014 at 11:40 am

Hello, thanks for that — it inspired me to research and modify the first CSS line, ” .espresso_payment_overview h3:nth-of-type(2) { display:none; } ” , which should read : ” .espresso_payment_overview tr:nth-child(3) { display:none; } ” to ge the desired effect. I learned new things today πŸ™‚

thanks !

The support post ‘Check payment gateway set to 'approved'’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso