Customer Info does not passed to Stripe

  • Posts: 12
  • Thank you received: 0
6 years 7 months ago #277787

I have tried both 1.0.1 and github.com/HikaShop/hikashoppayment-stripe
none work please advise on how to get it work. or add the plug in to a common place to allow download.

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 7 months ago #277788

Hello,

The common place to download the plugin is github ; there is a "release" section just made for that.

Now I'm afraid that if you cannot explain your issue with details, we won't be able to help.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0
6 years 7 months ago #277868

The issues is very simple:
I tried your stripes plugin 1.1 and the one you have on git, they do not work(links of what i tried below).
github.com/HikaShop/hikashoppayment-stripe
github.com/HikaShop/hikashoppayment-stripe/releases/tag/1.0.1
I installed them and test


as you can see from the screen shot the information is not transferring to stripe. the address and name are missing on stripe's end.
that might be because stripe upgraded their API or your code just never transferred the information.I need a fully working tested plugin to work with stripe. I am paying for support and do have the business version of hikashop.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0
6 years 7 months ago #277896

I installed and tested both - non work

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0
6 years 7 months ago #277897

Both non work-
please test them and you will see that they don't work and provide a new version so that i can use.

Last edit: 6 years 7 months ago by Perger.

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 7 months ago #277874

Hello,

The plugin do not send any metadata to Stripe so that's logical that there is no metadata.
About the name in the card ; I'm not sure that's related to the information the plugin is sending.

If the plugin can create a stripe account in their platform, it will give that information to Stripe.
github.com/HikaShop/hikashoppayment-stri...ripe/stripe.php#L204
Now we do not have any information to know if your customer as been created in Stripe or not, so maybe there was an issue but the plugin cannot know it and it just use a fallback to let the payment continue and work properly.
Or maybe it's just that "name" is a field that can be asked in the credit card form and because that field is not requested, the information is not catch (and not displayed).
github.com/HikaShop/hikashoppayment-stri...e/stripe_end.php#L62

Please understand that the Stripe plugin is a free plugin which has been externalized in Github.
It's a free and open-source plugin and it's not part of the HikaShop Business support.
And if you take a look at my forum signature, you'll might understand more things about what I'm doing here.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0
6 years 7 months ago #278280

I got it almost working correctly.
The problem is the user profile was not parsing correctly to stripe. The fix is delete the user and start from a clean registration.
after the clean registration was done now I get most of the information except the NAME.



please let me know if there is a quick fix on the code that i can add.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 7 months ago #278294

Hello,

Good to know that the address is right sent for the new stripe customers.
Regarding the name, as I wrote in a previous message, are you sure that it's coming from the Stripe Customer and it's not one field that you can pass along with the credit card details.
It gaves me the impression that this "name" is the "name on the card".

Or maybe it's just that "name" is a field that can be asked in the credit card form and because that field is not requested, the information is not catch (and not displayed).

Best might be to ask Stripe directly where that field is coming from.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0
6 years 7 months ago #278363

Found the Fix name field is not being pass to Stripe - I also create a patch on your github repo
github.com/HikaShop/hikashoppayment-stripe

                $vars["firstname"]=substr(@$order->cart->billing_address->address_firstname,0,20);
		$vars["lastname"]=substr(@$order->cart->billing_address->address_lastname,0,50);
		$vars['name'] = $vars["firstname"]." ".$vars["lastname"];
Please push it so that others can benefit from the plug in.

Last edit: 6 years 7 months ago by Jerome. Reason: [code] tag is nice

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 7 months ago #278370

Hello,

I don't see any pull request.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum