Laravel Spark - How to avoid the need to put the billing information twice - laravel-spark

In Laravel Spark you can set the option that when the customers creates their account the system show them the form to fill the billing address & VAT no.
Unfortunately to have the correct data on the invoice they have to go to /settings#/invoices to fill in the data after finish all the registration process, confirming their email and log-in.
This is very inconvenient as nobody understand this step and there where 0 (zero) customers of over 500 we have until now who actually find this field and filled it up. They just complain that the invoice is incorrect and we have to send corrections.
So my question is:
Is there a way to put the "Extra billing information" field which is here /settings#/invoices on the registration front so the customer will be able to fill it in during the registration process?

I needed to follow the same steps like with adding any other field to the registration form because the company data are stored in extra_billing_information column in users table.
Reference: https://www.core45.com/en/blog/how-to-add-customera-company-data-for-invoice-on-the-registration-form-in-laravel-spark

Related

Oracle eloqua form fields validation by an email

Is it possible to have a validation process with an email before updating a field from an eloqua form into the eloqua database ?
ex: my form integrates a field called "Persona" . This field is an important information so I want to be able to collect it in all Eloqua forms I produce. However, if I have already collected this information from a contact and this contact is entering a data in a new form which is not consistent from previous data stored I would like to be able to send him an email to ask him if he/she really wants to validate this new value before updating it? Is it possible to do this ? Has anyone done this in practice already ? Any feedback ?
Rgds
Xavier
Ps: prefilling is not always possible because some form respondents might come from social media and not be recognized by a cookie
Pss: once updated the field is updated once a night with Website contact database. An alternative is to capture this field from eloqua form only if this field was empty in eloqua. If not then a user needs to go to website contact database with password-based login to change the value. The drawback is that you have to create a web contact for each persone filling in an eloqua from and this may require minimum level of information you would not have asked in some of the eloqua forms otherwise
You could prefill the data by performing a data lookup on the contact's email address (cookie or not). When the user completes their email address, use a script to lookup against the Eloqua contact database, and return the field values in the background. Upon submission of the form, do a diff check on the values entered vs the values you retrieved from the database. Output the result and submit that in another field through the form, then use that data after the fact. Maybe you could create an algorithm that sets a threshold for a significant change, set a boolean to true when that threshold is met, then trigger a campaign to send an email with their new values in the body, confirming if that is correct.

Getting country data from PayPal transaction export, or API

The "country" field in the PayPal transaction history CSV exports is almost always empty. However, PayPal must know the country where a transaction originates, and in fact tools such as Putler can display the country for nearly all transactions.
I wish to obtain this data myself, but since the export doesn't appear to have it, should I obtain it by using the API? And which of the APIs wold be appropriate to use for this purpose?
Thanks in advance.
Yes you can probably do this using the API. First you'll need to search your account's transaction history. After that you'll get a list of transaction ID's, you can then retrieve information about a specific ID which includes the country code of the buyer.
You can see more details here: https://developer.paypal.com/docs/classic/express-checkout/ht_searchRetrieveTransactionData-curl-etc/

How to send confirmation email after submitting data using filemaker pro

I am very new to filemaker pro. Is there a way where I can get a conformation email after the user submits an entry using filemaker pro?
So for example, when the user clicks "Submit", it will automatically send me a confirmation email that says someone has submitted a form.
Yes, use the [Send Mail] script step. You can specify an SMTP server to use (which allows you to specify an account to use), or else use the locally connected user's email client (in which case the email will show as coming from the user)
Years ago we used the send mail step to send an alert to ourselves as outlined above. Over the years we moved away from this to a method we found more effective.
If your volume is consistent consider using FileMaker to report to you rather than emailing yourself. There is less to go wrong and you probably have to be in FileMaker to use the data.
Create a flag field set to "open" in the table that you check off when you've done what ever you will do with the information. Then create a calc field that shows how many open items you have.
For example we have an online store that uses FileMaker as a backend. The user screens have a field that appears as a little red ball with a number of open orders in it if there are unprocessed orders. If all the orders are processes the ball is green.

Virtuemart 2 Order confirmation before payment

I'm using VM 2.0.6 and Joomla 2.5 and the Multisafepay payment gateway.
Whenever a user puts a product in his cart, and clicks on checkout, the user is send to another page completely (Multisafepay's website, so not VM anymore) where he can select his desired payment option - same thing as paypal for example. But, at that time, Virtuemart is already sending an e-mail to the user confirming his order. That e-mail is saying: Thank you for your order blabla, the status of your order is blank..
So, VM is already sending an e-mail before the user payed.
Does anybode relate to this or knows an answer?
VM 2.0.6 is working like this :
when the order is placed that means any one of the shipping and payment method is selected.
and cart have valid data it will create the order and send an email to the user that mentioned
an order has been placed.
You can change
the sending mail section if you need.
One function name with notifyemail (iam not sure the name but it start with notify) in the path:
administrator/components/com_virtuemart/models/orders.php
you can check all your required things like shipping /payment methods are selected before calling this function.
the function should be initiate from cart.php controller in front end.
You can change the point where an invoice copy is sent to the customer in the Store Configuration. Look for Configuration > check out > Default Order Status to send an invoice and make sure you have the Confirmed status chosen.

How do you log PayPal IPN messages?

From PayPal's documentation:
"PayPal returns related variables for each kind of IPN message. Not all variables are returned for each type of transaction."
I was initially planning to create a table in the database with the message fields but now after I read this it doesn't seem like a good a idea anymore (esp. that I see a lot of fields in their IPN documentation).
I have a few ideas (e.g. using tabs and new lines character separate fields and values. Or, saving the the whole thing in XML in the database) but just wondering how you handle logging IPN messages?
What I do is save it to a database table with columns for information that is important to me along with a "raw" column. I take the form parameters collection and serialize it like a query string and push it in. That way all of the original information is available if I should need it but my database schema remains simple and reflects the information that is important to me.
I'd agree with the previous comment. IPN messages can be quite variable, and can be about 40-50 fields per submission. Just pull the few fields you need for your application (amount, customer info, etc) and drop the rest into an XML or TEXT field just in case you need it later.
I faced the same challenges when I integrate PayPal adaptive Payment. The fastest way I did is to store the IPN details (when PayPal calls the IPN handler that I did) to static variable so that the values can be shown regardless of browsers I used.