Creating and ntegrating payment form using HTML and CSS with Revolut? - html

I am new to this forum, I am currently doing Scrimba front end developing bootcamp so I am trying to learn. I am running an ecommerce site where I use Stripe as a payment gateway/processor but I don't quite trust Stripe as they have hold my funds for a while several times and I am validating same information to them all the time so it kind of seems very amateurish (I know how big of a company Stripe is) so this is causing me some trouble due to invoicing for the company and I am losing my night sleep over this so I am looking for a solution to try to fix this myself and then I was thinking about revolut. I have a card with revolut and everytime I deposit on the Revolut account it instantly come into that account, with Stripe it takes minimum a week, sometimes 3, if they are in a bad mood.
I was thinking of this process:
Creating a payment form with HTML and CSS code
Integrate somehow that payment with the revolut account.
I have seen some templates on payment forms with HTML and CSS, I haven't yet been able to create it, I am still very new. Is this possible? One of the products are a subscription, where the first price is a 50% offer and the normal subscription runs from the second month.
Anyone that can guide me on how to approach this, if it is do-able?
Thank you for your replies.
Tried googling this solution, tested some of the HTML/CSS forms but since I am a beginner I am kind of lost in all the information around. Still haven't been able to find out with Revolut whether if this is possible or not.

Related

how to get inputs from an email address?

I made a website for a free summer camp program (nothing fancy im barely 20 and only know python and C++ so i used weebly). I made an online form asking for info such as campers t-shirt size and name, and when the user fills that out, weebly sends me an email containing all of their answers.
The issue is, that will require BARE MINIMUM, for me to manually type hundreds of answers into some C++ program that could sort these people and put them in the right age groups. My question is, is there any way to get the contents of my email, or set up an email that automatically puts everything it receives into a database?
Im still inexperienced so if someone knows of a BETTER way to do this or something I am all ears. This is non-profit so really just trying to save time and manpower, i have a little budget for something such as a hosting fees or anything like that, but solutions like learning SQL arent really workable. I have looked at many services online but things such as sign up genius don't support this kind of camp style (you can choose multiple camps from a pool and when a pool reaches 50 we cannot accept more in that pool) weebly supports html embedding if that helps.
Thank you in advanced!

updating the content of another webpage

I am a beginner web developer and working on a school project. My apologies for asking this basic question.
I am trying to create an online shopping store. What I am trying to do is when the user clicks on the checkout button, the shopping cart page gets updated with that element.
I don't know how to accomplish that. I really appreciate if someone can point me to a tutorial or provides some tips.
Your question is really abstract, however you will have to find the right way to communicate with a database...it might be php/MySQL with laravel or some other framework or preferably C# asp.net with entity framework(that's what I will go with its not mandatory some people like php) Then you need to learn some lambda or sql depending on which approach you would like to take (php/C#). You will probably need to get some kind of grid control for the cart asp.net has default one personally I find it confusing and hard to work with( there are many controls that can be downloaded freely without charge for non commercial products search google) then you would need to fill that grid with the List of objects that you will get from your database. If you get that far alone the next steps would be easy you will probably need some javascript for ajax calls to a webservice or either your backend so you can submit the orders. For the right tutorial there is none actually since your question covers several topics regarding database modeling, data fetching, backend development and front end development. You can start by getting yourself some kind of server (look for mssql for asp.net) and MySQL for php, then you should look for some kind of database modeling tutorial basic tables relationships 1-1 1-* *-1, after that you would need to do your design (from the question I assume that you already have one downloaded). Then if you got down to this step you should google the way for the right way of communicating with your database from the backend of your website (I advise entity framework its clean and easy) you can generally bind the list of objects directly do the grid that would represent your cart (I say grid but you can give it data template to look like html, not to be confused with regular tables). If you really get here I see no reason to keep coding for a school project in most places you can use all this to bachelor degree exam and pass with straight A. But if you want more details look into these videos they explain quite well what you want to do.
https://www.youtube.com/watch?v=s91pPLx_T3Q
https://www.youtube.com/watch?v=yYr0seXj7qA
https://www.youtube.com/watch?v=lFkXk5gHjSs
I am not great at JavaScript but I think your page would need to update a cookie then read that value from said cookie. I hope that's a good place to start!
You might also find "Creating a Shopping Cart using only HTML/JavaScript" helpful.

Replacing a line of HTML with a database entry in a specific format

Before I explain the issue, I'd like to say I can code in HTML and CSS, so if you could offer a solution using those I'd be very pleased as I'll be fully able to customize it. Don't be afraid to use other languages though... Everything is welcome.
I've been searching around and I find a lot of similar questions with their respecive answers, but none quite matches what I need, so here I go.
I'm building a website for a person who sells handmade stuff. So far, the idea is to show a simple gallery of all the items in stock, but since this stock is constantly changing, I need a way to reflect these changes on the site, easily. Furthermore, it'd be even nicer if the seller himself could update the gallery without having to mess with the code on the actual site. Therefore, I plan to add a simple tag in the main page, to be replaced with the data (as written by the seller), but displayed in a specific format I'll probably have to write in a separate file... This is where my problems begin.
So, the site has a /images folder where a single picture for each of the items is stored, and the file the seller is supposed to modify should include the item's name, filename of its picture, dimensions, price, a short description, and maybe the amount in stock. For each item. I don't even know what file format to use, since I'm not experienced with databases at all.
I need this data to be displayed in a particular pre-set way, with all the items clearly visible at once (using the browser's scrollbar), and without the need to edit any line of code anytime the amount of items varies as I can't just be watching the site at all times. I don't know how to do that, so any ideas would be much appreciated. Thanks!
Edit: Here's a sample of a little placeholder code I made just to see how things could fit, in case it can be used.
<td class="thumb"><img src="images/tarjetas/2011/T01.JPG"><br><b>$2500 | Cód.: T01<br />16 x 11,5 cm<p /></b></td>
<td class="thumb"><img src="images/tarjetas/2011/T02.JPG"><br><b>$3500 | Cód.: T02<br />19 x 14 cm<p /></b></td>
<td class="thumb"><img src="images/tarjetas/2011/T03.JPG"><br><b>$2500 | Cód.: T03<br />17,5 x 12 cm<p /></b></td>
<td class="thumb"><img src="images/tarjetas/2011/T04.JPG"><br><b>$3500 | Cód.: T04<br />16 x 13 cm<p /></b></td>
As above. Learn php/mysqli. You need to create an admin side to the site where the owner can add entries to a database and then a client site side that customers can see which calls on the entries you added on the admin side.
It all depends on how much time you have as databases and php are not impossible to learn quickly. However if your taking money it will need to be secure. Look up pdo and prepared statements for your database interactions with MySQL.
If time is an issue just get a shopping cart plugin or use I think open source shopping carts into google etc and there will be plenty of choice.
You could also use a complete eccomerce solution like magento. Again type in CMS ecommerce software. There are great free ones.
Wordpress, joomla, Drupal are all open source CMS systems that also have shopping cart solutions (some paid). If you have time though learn php MySQL it open up so much functionality. I'm learning it myself and the database side of it opens up so many site possibilities.
Then Why don't you go for open source free shopping cart there are lot many free shopping carts available like Avactis,prestashop,magento etc
For this, my friend, you are going to have to learn forms and PHP. Go to a good and basic website like w3schools.com and start learning. I do not think such a thing would be possible without PHP as it is a server-side language. This means that it handles interaction with the server.
What I think you should do is add a link to another page where this a form that requires you to upload a picture and describe it.
Another thing is, if you want constant updating of the list of things you can buy, you might want to look into AJAX.

App not being shown in the gallery

I couldn't find any contact information, so I thought posting here would be the next best thing. I resubmitted an app last week (actually I've done it twice now in case there was some error) and I'm experiencing some problems:
1) the previous version of the app has disappeared from the gallery; and
2) it's taking a huge amount fo time (relative to my other experiences) to get it approved.
Who may I contact to follow up on this since it is quite urgent for our needs.
Many thanks,
Eamonn
There are occasionally delays in the review process for scripts being published to the gallery. If it takes a very long time (weeks) you may want to consider re-submitting the script.

How do I extend this Netbeans JSF2 CRUD example to have a single create and edit form for all entities?

I recently discovered this very useful Netbeans tutorial for creating a simple JSF 2 CRUD application http://netbeans.org/kb/docs/web/jsf20-crud.html. The final product has somewhat limited usability as one is confronted with a myriad of web pages. I would like an example of how to consolidate the Create and Edit forms (using the same project if possible). This seems more in keeping with how a person would actually enter such information and would reduce the risk of data entry mistakes. Why enter a client and their billing address on separate screens? One should be able to add or remove addresses, if need be, on the client's edit form. Or if a new client has multiple addresses, enter them all on the client's create form. The application just seemed incomplete with no further tips on how to improve it. If one has knows of a useful book that covers this, then I would gladly read that as well. Thanks.
I didn't realize the complexity of my problem and found that I couldn't get what I needed using JSF2 with the information resources available. Through my searches, I also found that many others were asking about Master-Detail CRUD applications, which I then learned was what I needed, but in slightly different ways and not getting any solid examples. A problem properly stated is half solved and I didn't know the problem statement. Armed with more knowledge, I was shocked to find that the answers were not readily available outside of some videos on YouTube showcasing Oracle ADF. In the end, I was able to quickly build the application I desired using the Play! Framework. In a way, by not having my question answered I was able to find a solution that would prove to be a better fit for my needs; though I would have gladly bought a cookbook if someone had pointed one out.