PDF plugin not working / bank transfer details

  • Posts: 37
  • Thank you received: 1
10 years 4 months ago #162850

-- url of the page with the problem -- : golive.capsvision.de/index.php?option=co...stprozess&Itemid=374
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Firefox 30.0
-- Error-message(debug-mod must be tuned on) -- : Error_message

1) I´ve purchased the PDF-plugin, installed and enabled it. Booked a course on my webseite, got an HTML confirmation but not an attached PDF. Not sure if I´m doing something wrong ?

2) Also written in another forum, would it be possible to add the vendors logo and address in the PDF file ?

3) I have several vendors created under HikaMarket, where can I add their bank details ? E.g. if a customer wants to pay them via bank transfer, the bank details should appear on the invoice they receive.

Best regards
Torsten

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
10 years 4 months ago #162893

Hi,

1. Two emails are sent when an order is made. The order creation notification (after the checkout) and the order status notification (after the payment notification has been received by HikaShop and the order confirmed).
The PDF is of course attached only to the second email. I guess that your order is not confirmed. Did you pay the order ? If yes, then you have a problem with your website not receiving the payment notifications:
www.hikashop.com/support/documentation/i...or.html#notification

2. Yes. You need to edit the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php and add your logo/address there.
I believe we already explained you that here: www.hikashop.com/forum/4-how-to/9505-pdf-invoice.html#162269

3. You should create one bank transfer payment method per vendor and select the corresponding vendor in the "vendor" option and the vendor details in the information area of the bank transfer payment mehtod.

PS: please post your questions in different threads in the appropriate forum sections in the future.

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

  • Posts: 37
  • Thank you received: 1
10 years 4 months ago #163005

Hi Nicolas,

many thanks for the update.

1) No, I did not pay, just received the order notification. Will try this out over the weekend and give you a feedback on Monday.
2) Same, will give it a try over the weekend.
3) OK, will this also work with 500 vendors or more ? Guess this makes the plugin section a bit confusing.

Thanks for the hint, will do so with my postings.

Best regards
Torsten

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
10 years 4 months ago #163019

3. Yes. It will require setting up 500 bank transfer payment methods. A future version of HikaMarket will allow the vendors to set that themselves on their control panel so once setup, you won't have to do it yourself.

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

  • Posts: 3
  • Thank you received: 0
10 years 3 months ago #165981

Hello Nicolas and team,

I have a detail question to TorstenLs point 1 - the attaching of the invoice at another order status.

Because bank transfers are made manually, my order status ordering is reduced as following (I am not sure if I use the correct english words as at the original because I use a german translated shop, but the status are all original)
- opened (email is sent with confirmation without invoice attached)
- sent / shipped (the admin sets this manually, at this point the attached pdf-invoice would be perfect)
(the customer pays the order)
- paid (last step at all, invoice is attached at the email)

So, I would appreciate to attach the pdf-invoice at the first or second step. Do you see an option to do that easily, maybe with an override?
Normally the shopper would not pay before the invoice is sent ;)

Thanks in advance,
Pierre.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 2 months ago #170509

Hi,

You have to edit the plugin "attachinvoice" via FTP, edit the file "attachinvoice.php" and replace the line:

$confirmed = $config->get('order_confirmed_status','confirmed');
By the desired code to attach when the order status is opened (created in english;) )

The following user(s) said Thank You: Pierre Corell

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

  • Posts: 3
  • Thank you received: 0
10 years 2 months ago #171020

Thank you, Xavier,

you got me helped to get the point.

I would prefer to change it to

$confirmed = $config->get('order_invoice_status','MYSTATUS'); //MYSTATUS can also be a custom one set at invoice status instead of confirmation status
and set MYSTATUS as an option at the plugin.
After thinking and trying a lot I got it to work now for me - great.

But please remember not all peops wanna sent an invoice after confirmed payment ;)

Best regards,
Pierre.

Last edit: 10 years 2 months ago by Pierre Corell. Reason: code syntax

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

Time to create page: 0.095 seconds
Powered by Kunena Forum