Support

Home Forums Event Espresso Premium Stripe Plugin not working

Stripe Plugin not working

Posted: March 6, 2020 at 7:53 pm


Jarred

March 6, 2020 at 7:53 pm

Hey guys we just installed stripe add-on for the first time and after entering credit card to pay I get this error message.

:: THe following errors have occurred:

An invalid registration was received

A valid primary registration for this transaction could not be found. “””

=========
Any idea why that would be happening?


Josh

  • Support Staff

March 6, 2020 at 7:59 pm

Hi Jarred,

Usually the “valid primary registration for this transaction could not be found” error is caused by server side caching where the session state isn’t allowed to persist. Has any caching been adding to the site either via a plugin or from the hosting side?


Jarred

March 7, 2020 at 2:24 pm

Okay thanks, that fixed it. Was a cache issue. I did come upon another question however. I cant seem to get the CSS of the Strip payment button to change the backgrond color of it on my custom-css file.

the code is on this file
eea-stripe-gateway/css/espresso_stripe.css

and the selection im trying to use is #stripe-card-button but it’s not changing the color for some reason. ive tried both of these selectors on my custom.css file but it won’t work.


#stripe-card-button {
	font-size: 18px !important;
    color: #ffffff !important;
background: #4c4c4c !important;
}


input#stripe-card-button {
	font-size: 18px !important;
    color: #ffffff !important;
background: #4c4c4c !important;
}


Jarred

March 7, 2020 at 2:30 pm

Also, *** notice in the picture how the “Proceed to finalize registration” button is still visible underneath the Stripe payment modal. That does not make the cart look clean and can cause confusion. Can you guys change that in the next update? Basically if Stripe Credit card is the option then the only thing the customer should see is the words “Pay Now” and it should be a larger button that looks good.

https://www.screencast.com/t/NsTp39nMKrF


Tony

  • Support Staff

March 9, 2020 at 5:00 am

I cant seem to get the CSS of the Strip payment button to change the backgrond color of it on my custom-css file.

I can’t find a custom.css file loading on your site, may I ask how exactly are you adding the above code?

Can you guys change that in the next update?

Currently, we have no plans on removing that button from view.

The problem shown on the screenshot is due to your theme’s styling, both buttons have been greyed out with no distinction between an ‘active’ button and a ‘disabled’ button.

Here is how that same view looks on a default theme: https://monosnap.com/file/dNPmih1WeBifRL9N5DMO6LHClk3W4l

The Finalize button has been disabled, and this is obviously with those styles as the button has been greyed out.

You can remove that button with your own CSS:

#spco-go-to-step-finalize_registration-submit.disabled {
    display: none;
}

The support post ‘Stripe Plugin not working’ 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