|
zeiman
|
 |
« on: 27/March/2008, 12:03:56 PM » |
|
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!
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #1 on: 27/March/2008, 01: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.
|
|
|
|
|
Logged
|
|
|
|
|
one
|
 |
« Reply #2 on: 22/December/2008, 08: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.
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #3 on: 22/December/2008, 09: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.
|
|
|
|
|
Logged
|
|
|
|
|
one
|
 |
« Reply #4 on: 22/December/2008, 10: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. 
|
|
|
|
|
Logged
|
|
|
|
|
one
|
 |
« Reply #5 on: 22/December/2008, 11:39:15 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
one
|
 |
« Reply #6 on: 23/December/2008, 12:36:59 AM » |
|
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.
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #7 on: 23/December/2008, 10: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.
|
|
|
|
|
Logged
|
|
|
|
|
one
|
 |
« Reply #8 on: 23/December/2008, 02: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.
|
|
|
|
|
Logged
|
|
|
|
|
one
|
 |
« Reply #9 on: 23/December/2008, 03: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?
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« Reply #10 on: 23/December/2008, 05: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.
|
|
|
|
|
Logged
|
|
|
|
|
rued
|
 |
« Reply #11 on: 30/July/2009, 08:08:47 PM » |
|
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: 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. 
|
|
|
|
|
Logged
|
|
|
|
|
netshine
|
 |
« 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.
|
|
|
|
|
Logged
|
|
|
|
|
rued
|
 |
« 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.
|
|
|
|
|
Logged
|
|
|
|
|
TheBelgarion
|
 |
« Reply #14 on: 14/November/2009, 03: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
|
|
|
|
|
Logged
|
|
|
|
|