#BCCHASE-return
1 messages · Page 1 of 1 (latest)
hello @wheat shuttle, what Stripe integration are you using i.e. Checkout or Elements? Also could you elaborate more on what user info is not being returned?
I'm using Connect
none of it
nothing goes back to the site but payment goes through
you mention that the payment succeeds, how are you collecting payment then?
okay, in order to use Stripe to collect payment details though, you typically should be using either Checkout or Elements. Do you have a code snippet to share maybe?
Yeah one sec thank you
class j00005stripe
{
function __construct($componentArgs)
{
// Must be in all minicomponents. Minicomponents with templates that can contain editable text should run $this->template_touch() else just return
$MiniComponents =jomres_getSingleton('mcHandler');
if ($MiniComponents->template_touch)
{
$this->template_touchable=false; return;
}
$ePointFilepath=get_showtime('ePointFilepath');
if (file_exists($ePointFilepath.'language'.JRDS.get_showtime('lang').'.php'))
require_once($ePointFilepath.'language'.JRDS.get_showtime('lang').'.php');
else
{
if (file_exists($ePointFilepath.'language'.JRDS.'en-GB.php'))
require_once($ePointFilepath.'language'.JRDS.'en-GB.php');
}
if (!defined("STRIPE_JS_LOADED")) {
jomres_cmsspecific_addcustomtag( '<script src="https://js.stripe.com/v3/"></script>' );
define('STRIPE_JS_LOADED' , 1 );
}
require_once($ePointFilepath.'sdk'.JRDS.'vendor'.JRDS.'autoload.php');
// Ensure that we reset the stripe cart data if we go to a new page
if (get_showtime('task') != 'processpayment' && get_showtime('task') != 'invoice_payment_send' ) {
$tmpBookingHandler =jomres_getSingleton('jomres_temp_booking_handler');
$tmpBookingHandler->tmpbooking['stripe'] = array();
}
}
// This must be included in every Event/Mini-component
function getRetVals()
{
return null;
}
}
is js.stripe.com/v3 correct?
it looks like you're using jomres as a plugin to use Stripe - is this correct?
you're going to need to reach out to Jomres for help, since the plugin is developed by them, i'm afraid we don't really have any insights on how their integration works