[Skip to main content](#vessel-content)

#  Profile for tims@precision.email

##

[![tims@precision.email's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57678-tims-precision-email "View tims@precision.email's Profile")

**[ Offline](/forum/user/57678-tims-precision-email)**

- **User Type:** User

- **Register Date:** 29 Oct 2018
- **Last login:** 4 years 9 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 04:22

- **Posts:** 3
- **Profile views:** 49

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  tims@precision.email's recent posts  (3 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/27-checkout/903923-hikashop-error-0-call-to-a-member-function-getname-on-null#339223) | [hikashop Error: 0 Call to a member function getName() on null](/forum/27-checkout/903923-hikashop-error-0-call-to-a-member-function-getname-on-null#339223 "Hi  I get the following error: hikashop Error: 0 Call to a member function getName() on null, when I attempt to create an order using the cart id like so:  $cartClass = hikashop&#95;get('class.cart'); $orderClass = hikashop&#95;get('class.order');  $cart = $cartClass-&gt;getFullCart();  $cart&#95;id = $cart-&gt;cart&#95;id; $order = $orderClass-&gt;createFromCart($cart&#95;id);  This is being done in a custom component.  Any help would be greatly appreciated.")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 4 years 9 months ago, by [tims@precision.email](/forum/user/57678-tims-precision-email "View tims@precision.email's Profile")       [Last Post](/forum/27-checkout/903923-hikashop-error-0-call-to-a-member-function-getname-on-null#339229 "Hi,  We have around a 100 calls to getName functions in the code of HikaShop. There are basically two types of calls: - the ones with $this-&gt;getName(); in view files or $view-getName() in code dealing with views to get the name of the current view. I don't see this failing in your case. - the ones to get the name of shipping methods and payment methods to be displayed in the invoices, order information, emails, etc. It's likely to come from this. This would indicate that the order&#95;payment&#95;id or order&#95;payment&#95;method or the order&#95;shipping&#95;id or order&#95;shipping&#95;method of the order is for a shipping plugin which doesn't exist or at least which couldn't be loaded. I suppose it is because of the second one. To be sure, if you can't get the full error message on screen, you can check in your PHP error log. It will contain the full fatal error message with the line number and file path where the error happened. Supposing that I'm correct, then I would recommend checking these columns in the hikashop&#95;order table for the order created in your database and check with the id of the payment/shipping methods you have configured in your backend and their folder name. There is probably some discrepency, or if it's correctly, maybe it's linked to the fact that the plugin's access is not &quot;public&quot; or something like that. For example, if you limit your payment method's access to &quot;super adminstrator&quot;, then you can see and select it on the checkout as you're logged in as a super admin, but when Stripe contacts your /components/com&#95;helloworld/views/helloworld code, the Stripe server is not logged in and thus is a guest. And supposing that you did that for your tests, I would rather recommend that you do it differently. For example, you could just add a few lines of PHP at the beginning of your payment plugin file to check the user group of the current user or URL parameters to check that it is stripe contacting you and return if it's not super admin. That way, the payment method won't appear for others on the checkout but it will still be loaded when the createFromCart function is used and the getName function is called on the payment plugin class. Now that's just guesses over guesses so I might be wrong...") 4 years 9 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1392 | [Last Post](/forum/27-checkout/903923-hikashop-error-0-call-to-a-member-function-getname-on-null#339229 "Hi,  We have around a 100 calls to getName functions in the code of HikaShop. There are basically two types of calls: - the ones with $this-&gt;getName(); in view files or $view-getName() in code dealing with views to get the name of the current view. I don't see this failing in your case. - the ones to get the name of shipping methods and payment methods to be displayed in the invoices, order information, emails, etc. It's likely to come from this. This would indicate that the order&#95;payment&#95;id or order&#95;payment&#95;method or the order&#95;shipping&#95;id or order&#95;shipping&#95;method of the order is for a shipping plugin which doesn't exist or at least which couldn't be loaded. I suppose it is because of the second one. To be sure, if you can't get the full error message on screen, you can check in your PHP error log. It will contain the full fatal error message with the line number and file path where the error happened. Supposing that I'm correct, then I would recommend checking these columns in the hikashop&#95;order table for the order created in your database and check with the id of the payment/shipping methods you have configured in your backend and their folder name. There is probably some discrepency, or if it's correctly, maybe it's linked to the fact that the plugin's access is not &quot;public&quot; or something like that. For example, if you limit your payment method's access to &quot;super adminstrator&quot;, then you can see and select it on the checkout as you're logged in as a super admin, but when Stripe contacts your /components/com&#95;helloworld/views/helloworld code, the Stripe server is not logged in and thus is a guest. And supposing that you did that for your tests, I would rather recommend that you do it differently. For example, you could just add a few lines of PHP at the beginning of your payment plugin file to check the user group of the current user or URL parameters to check that it is stripe contacting you and return if it's not super admin. That way, the payment method won't appear for others on the checkout but it will still be loaded when the createFromCart function is used and the getName function is called on the payment plugin class. Now that's just guesses over guesses so I might be wrong...") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 9 months ago |
| [](/forum/27-checkout/903923-hikashop-error-0-call-to-a-member-function-getname-on-null#339171) | [hikashop Error: 0 Call to a member function getName() on null](/forum/27-checkout/903923-hikashop-error-0-call-to-a-member-function-getname-on-null#339171 "Hi  I get the following error: hikashop Error: 0 Call to a member function getName() on null, when I attempt to create an order using the cart id like so:  $cartClass = hikashop&#95;get('class.cart'); $orderClass = hikashop&#95;get('class.order');  $cart = $cartClass-&gt;getFullCart();  $cart&#95;id = $cart-&gt;cart&#95;id; $order = $orderClass-&gt;createFromCart($cart&#95;id);  This is being done in a custom component.  Any help would be greatly appreciated.")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 4 years 9 months ago, by [tims@precision.email](/forum/user/57678-tims-precision-email "View tims@precision.email's Profile")       [Last Post](/forum/27-checkout/903923-hikashop-error-0-call-to-a-member-function-getname-on-null#339229 "Hi,  We have around a 100 calls to getName functions in the code of HikaShop. There are basically two types of calls: - the ones with $this-&gt;getName(); in view files or $view-getName() in code dealing with views to get the name of the current view. I don't see this failing in your case. - the ones to get the name of shipping methods and payment methods to be displayed in the invoices, order information, emails, etc. It's likely to come from this. This would indicate that the order&#95;payment&#95;id or order&#95;payment&#95;method or the order&#95;shipping&#95;id or order&#95;shipping&#95;method of the order is for a shipping plugin which doesn't exist or at least which couldn't be loaded. I suppose it is because of the second one. To be sure, if you can't get the full error message on screen, you can check in your PHP error log. It will contain the full fatal error message with the line number and file path where the error happened. Supposing that I'm correct, then I would recommend checking these columns in the hikashop&#95;order table for the order created in your database and check with the id of the payment/shipping methods you have configured in your backend and their folder name. There is probably some discrepency, or if it's correctly, maybe it's linked to the fact that the plugin's access is not &quot;public&quot; or something like that. For example, if you limit your payment method's access to &quot;super adminstrator&quot;, then you can see and select it on the checkout as you're logged in as a super admin, but when Stripe contacts your /components/com&#95;helloworld/views/helloworld code, the Stripe server is not logged in and thus is a guest. And supposing that you did that for your tests, I would rather recommend that you do it differently. For example, you could just add a few lines of PHP at the beginning of your payment plugin file to check the user group of the current user or URL parameters to check that it is stripe contacting you and return if it's not super admin. That way, the payment method won't appear for others on the checkout but it will still be loaded when the createFromCart function is used and the getName function is called on the payment plugin class. Now that's just guesses over guesses so I might be wrong...") 4 years 9 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1392 | [Last Post](/forum/27-checkout/903923-hikashop-error-0-call-to-a-member-function-getname-on-null#339229 "Hi,  We have around a 100 calls to getName functions in the code of HikaShop. There are basically two types of calls: - the ones with $this-&gt;getName(); in view files or $view-getName() in code dealing with views to get the name of the current view. I don't see this failing in your case. - the ones to get the name of shipping methods and payment methods to be displayed in the invoices, order information, emails, etc. It's likely to come from this. This would indicate that the order&#95;payment&#95;id or order&#95;payment&#95;method or the order&#95;shipping&#95;id or order&#95;shipping&#95;method of the order is for a shipping plugin which doesn't exist or at least which couldn't be loaded. I suppose it is because of the second one. To be sure, if you can't get the full error message on screen, you can check in your PHP error log. It will contain the full fatal error message with the line number and file path where the error happened. Supposing that I'm correct, then I would recommend checking these columns in the hikashop&#95;order table for the order created in your database and check with the id of the payment/shipping methods you have configured in your backend and their folder name. There is probably some discrepency, or if it's correctly, maybe it's linked to the fact that the plugin's access is not &quot;public&quot; or something like that. For example, if you limit your payment method's access to &quot;super adminstrator&quot;, then you can see and select it on the checkout as you're logged in as a super admin, but when Stripe contacts your /components/com&#95;helloworld/views/helloworld code, the Stripe server is not logged in and thus is a guest. And supposing that you did that for your tests, I would rather recommend that you do it differently. For example, you could just add a few lines of PHP at the beginning of your payment plugin file to check the user group of the current user or URL parameters to check that it is stripe contacting you and return if it's not super admin. That way, the payment method won't appear for others on the checkout but it will still be loaded when the createFromCart function is used and the getName function is called on the payment plugin class. Now that's just guesses over guesses so I might be wrong...") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 9 months ago |
| [](/forum/30-integrations/903885-stripe-plugin-v3-including-payment-request-button-apple-pay-google-pay#338994) | [Stripe Plugin V3 - Including Payment Request Button(Apple Pay/Google Pay)](/forum/30-integrations/903885-stripe-plugin-v3-including-payment-request-button-apple-pay-google-pay#338994 "Hi, I have recently bought this plugin and was dissapointed to find that it does not integrate with the Payment Request Button. Can it be updated to include those payment options?  I have succesfully implemented Payment Request Button from Stripe separately but I need it to integrate with our existing Hikashop setup and writing a whole plugin is beyond my capabilities, any help would be appreciated.")        Category: [Integrations](/forum/30-integrations "Informations on all the different integrations available for Hikashop")     Topic started 4 years 10 months ago, by [tims@precision.email](/forum/user/57678-tims-precision-email "View tims@precision.email's Profile")       [Last Post](/forum/30-integrations/903885-stripe-plugin-v3-including-payment-request-button-apple-pay-google-pay#339024 "Hello,  For what I can see regarding the PaymentRequest Stripe feature, the main difference with Connect is the usage of different JavaScript code. The plugin is already based on the Payment Intent system, so the plugin core already create the necessary data.  The current stripeConnect JavaScript object can support Payment Intent, Payment Method, Payment Source and Token. So if you want to support Payment Request, it would requires new JS function in the object to have a new &quot;mode&quot;. Afterwards, it's the &quot;end&quot; view which contains the initialisation part and which could switch from &quot;intent&quot; to &quot;request&quot;. That view would also have access to the HikaShop order and Stripe Intent Object, so you would have all the necessary data for the Payment Request initialisation.  Regards,") 4 years 10 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:1  Views:1105 | [Last Post](/forum/30-integrations/903885-stripe-plugin-v3-including-payment-request-button-apple-pay-google-pay#339024 "Hello,  For what I can see regarding the PaymentRequest Stripe feature, the main difference with Connect is the usage of different JavaScript code. The plugin is already based on the Payment Intent system, so the plugin core already create the necessary data.  The current stripeConnect JavaScript object can support Payment Intent, Payment Method, Payment Source and Token. So if you want to support Payment Request, it would requires new JS function in the object to have a new &quot;mode&quot;. Afterwards, it's the &quot;end&quot; view which contains the initialisation part and which could switch from &quot;intent&quot; to &quot;request&quot;. That view would also have access to the HikaShop order and Stripe Intent Object, so you would have all the necessary data for the Payment Request initialisation.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      4 years 10 months ago |

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
