Services Plugins FAQs

Uplance Template - GET Retrieve Customer not getting sources

The only data for sources in the GET for Retrieve Customer is ‘default source’ (however, your demo template shows that you should be able to get ‘sources’ (_src) which then retrieves source brand, last 4 numbers of source etc.

Do I have to implement another GET that is missing from the template?

I note that you have not installed plugin Stripe JS 2 in the template. Does that need to be installed and hooked up for some reason?


Hello @cowontherun

Thanks for reaching out! Sorry for the trouble.

The conditions for this image element show either Visa or Mastercard logo depending on what type of card is used as billing method when a user pays for service.

No need to install any additional Stripe plugins. The Stripe CUSTOM API integration using API Connector is doing the job.

If the Call is not initialized, it is possible to do so by accessing the API Connector tab and initialize it.

.

Alternatively share with us more details, like have you changed any workflows, conditions, group elements, page setup etc so we could help you better.
Thanks for understanding :pray:

Regards,
Dumitru

Hi Dumitru,

Thanks for getting back to me so quickly.

Yes I did say in my post that Sources is supposed to get brand and last 4 digits. You also didn’t look at the screenshot I uploaded - I added one above already showing you my initialisation showing you that there is no Sources field. I’ll try and outline the issue more clearly…

Stripe’s own documentation says that there is no Sources field for the Retrieve Customer GET. See screenshot below.

Given that Stripe’s own API docs do not have Sources in the Retrieve Customer endpoint - how is your developer getting Sources in yours? See screenshot below.

This is for the employer on the /employer page. Once I add their test 4242 cc number and they show in Stripe dashboard, my stripe dashboard does not have a _src id for a payment and it looks like this is because the cc number has only been collected at this stage, it has not been charged.

So my question for the developer is - how are you getting a src id in order to show brand and last 4 digits, when you haven’t collected payment yet?

What I suspect is happening is that Retrieve Customer cannot display last 4 digits/brand/exp. etc. and that either I need to add another endpoint to call for the saved credit card or your template should not show the customer’s card details if it cannot display the details unless it is charged. I think perhaps when you built the template you charged the test credit card and forgot that uncharged cards cannot display saved credit card data. Am I correct?

Or is there some other way the developer is getting Sources via Retrieve Customer?
Can you please ask the developer directly.
Hopefully you will understand the issue…let me know if I need to add anything else.

Hi @cowontherun,

Thanks for your feedback. Let me jump in here to help you.

Could you please add our support@zeroqode.com account to your Settings/Collaboration tab so we can check on this issue inside your app and give a complete feedback after proper investigation.

Note : avoid the warning message regarding plan, as we are an agency and you can easily add our account.

We’ll investigate it with our developers within your app then get back with a reply asap!

Alex

Hi @cowontherun,

We managed to check on your app and our template as well, but with little luck unfortunately. Please let us dive a bit deeper into this issue, because I’m afraid it was used a different API call for creating 2 separate source objects and then attaching sources to the customer object, and perhaps this call was removed. But let us investigate with our developer team as well and get back to you with working solutions as soon as possible!

Thanks in advance for your patience. :pray:

Thanks, yes that’s it exactly.

Thanks for looking into it.

Jess

PS. I have successfully used the Bubble Stripe plugin for this instead. (Stripe Credit Card as the Content Type with Data Source as Current User’s Credit Card). You could just use this in your template instead of bothering with the sources custom API?

1 Like

Thanks @cowontherun,

We’ll report it to our devs as well and see whether it requires the implementation at this point. :pray:

Alex

Hi @cowontherun,

We were trying to check on your app again but cannot preview the editor. Could you please add our account as a Collaborator again?

Alex

Hi Alex,
Sorry, been away for the New Year.
I’m happy just using the Bubble Stripe plugin for that particular call that I swapped to instead, no need to go in to fix.
Thanks for offering though,
Jess

1 Like

Thanks @cowontherun for letting know!

I’m glad it’s all up-and-running with this implementation. If you like our template so far, could you please rate it by going to Templates tab within your editor? You can find it by name and give it as many stars as it deserves. The more feedback we get, the more motivated we are to build great templates!

Cheers

Hi there, I am running into the same issue actually. Would you mind sharing what you used for the exact name of API provider and the field that you ended up using instead of Stripe custom API: retrieve customer: sources? I am not finding any useful data calls using Stripe plugin somehow. Thank you sooooo much. I am desperate finding a solution now.