Jump to content

Stripe Session ID missing


Claudia M
 Share

Recommended Posts

Posted (edited)

I had one the other day that went thru fine.  You're right Al, can't figure out the cause.  I use Mastercard and Visa

I did get an email from Stripe on 3-24 regarding some updates they were making.  Are you aware of this?

Edited by Claudia M
Link to comment
Share on other sites

  • Replies 52
  • Created
  • Last Reply

Top Posters In This Topic

2 minutes ago, Claudia M said:

I had one the other day that went thru fine.  You're right Al, can't figure out the cause.  I use Mastercard and Visa

 

You don't "accept" iDeal or Bancontact? Were the ones you had trouble with all Visa or also Mastercard? I've never had any issues with Mastercard payments through Stripe.

 

It's probably just a coincidence, but I had about 25 of these cases where the callback didn't happen and all but 2 were iDeal or Bancontact.

Link to comment
Share on other sites

I've created a new version which logs the stripe session id and session data before it transfers over to stripe for payment.

If this issue occurs please check the order notes. There should be a value next to  Stripe Session ID as shown in pink below.

  • If there is not then Stripe isn't returning the session id we later need to look up the status
  • If there is then it's somehow getting lost by the time the customer gets to the order confirmation page which is when it is needed to look up payment status.

Screenshot 2021-04-06 081219.png

Link to comment
Share on other sites

I had 1 today with no call back from Stripe.

 

This is the information in the 'notes':

 

Quote

Stripe Session ID: cs_live_a1n0whFLfM8GMTPTGCPr2Xnswfmg2mwE1Nxp56JHqmCdZd6YTPuiRrYGm9  

 

It was again an iDeal payment.

Other Stripe payments before and after this one went fine.

Edited by DiMarca Online
Link to comment
Share on other sites

And another one I'm afraid tonight is not going too well 😪

In the notes: 

Quote

Stripe Session ID: cs_live_a1wI9AZ3B7Qppe071YjeevFaeecrGsyCb7EOLgLDqHGR9O0WVGbmGJb5FO

Hope that helps 😄

This was a Visa payment

Thanks for checking!
 

By the way yesterday I lost part of a sale because payment with Stripe didn't go as should.

 

Someone ordered digital patterns and a bead board that I only had 1 in stock. She put the order through and chose Stripe. She tried to pay twice with Stripe. Didn't work, so I think she went back to the website and then chose PayPal. But by that time, the bead board was removed 'automatically' because it was seen as out of stock (it wasn't, but somehow because of the payment that was unsuccesful it was seen as such). She paid with PayPal, but without the bead board.

Link to comment
Share on other sites

Just now, Al Brookbanks said:

Just the stripe ID and the transaction log notes for the order. It looks like the session data is getting lost.

Sorry transaction logs, I didn't read right LOL

 

They all say:
 

Quote

Stripe session ID missing. Unable to retrieve session data

 

Link to comment
Share on other sites

2 hours ago, Claudia M said:

I just had a sale thru Stripe that went thru fine.  However when I went to printout the invoice all the debug info is at the bottom of it.  I'm going back to version 3.0.2

Version 3!? 😬

You just need to turn off debug mode in the advanced section of your stores settings.

Link to comment
Share on other sites

12 hours ago, Claudia M said:

I just had a sale thru Stripe that went thru fine.  However when I went to printout the invoice all the debug info is at the bottom of it.  I'm going back to version 3.0.2

I just print out the pages without the 'notes' 😉

Link to comment
Share on other sites

At the end of the inovice editor in admin / documents

<div id="storeLabel"><img alt="" src="{$STORE_LOGO}" /></div>
</div>

<!-- <div class="info">{foreach from=$order.notes item=note}{$note}{/foreach}</div> - - ->
</div>
{/if}{/foreach}{/if}<script>
    setTimeout(function(){ window.print(); }, 2000);
    </script></div>
</div>
</body>
</html>

Link to comment
Share on other sites

  • 2 weeks later...

Today I had one order that was paid with Stripe, but no call back and no transaction log whatsoever, so I didn't know it was paid. When I went to check Stripe, it turned out to be paid.

 

This was in the notes:

Quote

Stripe Session ID: cs_live_a1HzlFxhgm4xq697TRmBfIIF1ndb7Tme5HtJ3w8urVKUCMznaYEd0TRhjb

It was paid with iDeal.

Link to comment
Share on other sites

Ok so we can conclude that the session ID is getting lost. I've released 3.0.6 which keeps an audit log in the transaction logs table and uses the latest entry from there instead of relying on session data. I hope this will resolve the issue. At least if it doesn't there will be a better trail to audit.

Link to comment
Share on other sites

  • 4 weeks later...

I'm sorry, I had another Stripe payment that didn't log back to CubeCart. It gives a different transaction log than before:

Quote

pi_1IvRWlCHDRqc5vlYbbVZgs87 Created €22.72 StripeToday, 18:32 Stripe Checkout session ID created.

Problem is that it doesn't show that something is wrong, but it stayed at 'pending'.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share




×
×
  • Create New...