Author Topic: Payment with a simple Bank Transfer? How ist it possible?  (Read 5986 times)

Offline zeiman

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
Payment with a simple Bank Transfer? How ist it possible?
« on: 27/March/2008, 11:03:56 AM »
Hallo!

I've just purchased nBill but i dont know how i can realize this:

We will use 2 Payment Options:
Paypal
Bank Transfer

If the Customer selects "Bank Transfer" he should get a Mail with our Bank Account Details, or get the bill with our Details on it on a Mail.

How to realise this? Is there a Payment Extension?

Thanks a lot!

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #1 on: 27/March/2008, 12:11:10 PM »
No, there is no extension. Typically, if you set the value of your 'Bank Transfer' option to -1, and that value is used for the payment gateway order value setting, all that will happen is the pending order will sit there waiting for you to activate it in the back end. nBill will not send an e-mail (other than the pending order confirmation), but you could add some PHP code to send an e-mail out either in the form submit code setting, or using the pending_order_created event.

Offline one

  • Sr. Member
  • ****
  • Posts: 65
    • View Profile
    • Lux COM SERVICE, SIA - Professional Customers Support
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #2 on: 22/December/2008, 07:41:17 PM »
Can you discrub steep by steep hove I can done this? For me need chosice Bank Transfer paying type, than see Bank payment data and after that get invoice to pay in Bank.

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #3 on: 22/December/2008, 08:01:52 PM »
To allow the user to choose a payment method, see this page: http://www.nbill.co.uk/documentation/index.php?page=allow-the-user-to-choose-a-payment-method.html.

If you want to show your bank details on screen when the user chooses to pay offline, you could enter the details as the 'thank you message', or alternatively create a Joomla content item and use the 'thank you redirect' to send the user there. This will only work if the payment gateway you use does not show the thank you message (most don't, so it should be ok). If you want it to send an email though that would require PHP programming skills.

Offline one

  • Sr. Member
  • ****
  • Posts: 65
    • View Profile
    • Lux COM SERVICE, SIA - Professional Customers Support
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #4 on: 22/December/2008, 09:51:22 PM »
Great netshine!!! I will try this. And wait next byer of your nBill I think after NY it wil be your. ;) Its will be me. :)

Offline one

  • Sr. Member
  • ****
  • Posts: 65
    • View Profile
    • Lux COM SERVICE, SIA - Professional Customers Support
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #5 on: 22/December/2008, 10:39:15 PM »
Yeahhh... Great again it's works!!!  :) :) :)

Offline one

  • Sr. Member
  • ****
  • Posts: 65
    • View Profile
    • Lux COM SERVICE, SIA - Professional Customers Support
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #6 on: 22/December/2008, 11:36:59 PM »
If you want it to send an email though that would require PHP programming skills.

About that you think this is a hard way to do this? Me need this otions personaly or put this to your to-do list.

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #7 on: 23/December/2008, 09:11:50 AM »
If the field on your form that is used to allow the user to choose a payment gateway is called 'payment_method' (for example), the code to send an email might look something like this:

if (mosGetParam($_POST, 'payment_method') == '-1' || mosGetParam($_POST, 'payment_method') == INV_OFFLINE)
{
  mosMail("youremail@address.com", "Your Name", mosGetParam($_POST, 'INV_CORE_email_address'), "Bank Details", "Here are our bank details:\n\nBank Name\nBank Address\nAccount Number\nEtc.");
}


You would put the code in the 'submit code' setting on the advanced tab of the order form.

Offline one

  • Sr. Member
  • ****
  • Posts: 65
    • View Profile
    • Lux COM SERVICE, SIA - Professional Customers Support
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #8 on: 23/December/2008, 01:27:29 PM »
If the field on your form that is used to allow the user to choose a payment gateway is called 'payment_method' (for example), the code to send an email might look something like this:

if (mosGetParam($_POST, 'payment_method') == '-1' || mosGetParam($_POST, 'payment_method') == INV_OFFLINE)
{
  mosMail("youremail@address.com", "Your Name", mosGetParam($_POST, 'INV_CORE_email_address'), "Bank Details", "Here are our bank details:\n\nBank Name\nBank Address\nAccount Number\nEtc.");
}


You would put the code in the 'submit code' setting on the advanced tab of the order form.

Sorry, but sendig mails not work.

Offline one

  • Sr. Member
  • ****
  • Posts: 65
    • View Profile
    • Lux COM SERVICE, SIA - Professional Customers Support
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #9 on: 23/December/2008, 02:31:51 PM »
It's ,y mistake sorry. I have set Value for BanPayment as "offline" not as "-1". Now I see all is ok but I have another question. Hove I cant give buyer see difernt thankyou message as paying by PayPal?

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #10 on: 23/December/2008, 04:13:02 PM »
The only way to give a thank you message when using Paypal is to redirect to a page on your website using the success URL parameter on the gateway settings page.

Offline rued

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #11 on: 30/July/2009, 08:08:47 PM »
To allow the user to choose a payment method, see this page: http://www.nbill.co.uk/documentation/index.php?page=allow-the-user-to-choose-a-payment-method.html.

I tested this guide but could not get it to work for some reason when using offline as value.
After completed order I only get a error message like:
Quote
ERROR: The payment gateway associated with this order form or invoice could not be found. It will not be possible to pay online at the present time.

Is this normal behaviour?
The orders seems to be processed nicely except this on thing, plus the missing Standard Payment Instruction on orders/invoices. :)

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #12 on: 31/July/2009, 08:26:28 AM »
Are you using version 1.2.9 of nBill? Have you tried using -1 as the value instead of 'offline'? If you have a language pack installed, the word 'offline' might have been translated into your local language.

Offline rued

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #13 on: 31/July/2009, 12:01:21 PM »
You're right, I'm using a translation and .1.2.9 - and wasn't aware that it influenced on the value itself. I misunderstood your guide and thought it was the output off 'offline' who was translated, not the value itself.

Can confirm that both -1 and the translation value for INV_OFFLINE is working, haven't tested that with JoomFish - but that's not an issue for this first site anyway.

Thanks for your fast reply and solution.

Offline TheBelgarion

  • Full Member
  • ***
  • Posts: 30
    • View Profile
    • EuroPrompt
Re: Payment with a simple Bank Transfer? How ist it possible?
« Reply #14 on: 14/November/2009, 02:25:44 PM »
just tried that and it works so far my only question is how can I access values like Amount, PendingOrderId and so on. So I could send the ID and the Costumer could use this Id to make the payment - for easier sorting the payments.

Any array/object defined at this time which I could use !?

thx

thomas
B2B Import & Export Portal www.europrompt.com