I am not a web developer, rather a back end Point of Sale Developer. We wanted to integrate web payments into our system, so I was assigned the task. Per the specs, I do a form post to load the credit card processors payment window.
The screen loads as expected. The problem is processing the response. Per the specs, their documentation says this about processing the response.
THP responds with the https://mydomain.com/response.html URL, if you set the responseURL field as https://mydomain.com/response.html URL and the responseType field as GetBack. The merchant application reads the response from the appended attributes. For example:
I do understand that the responseURL which points to a JSP resides on our web server, and I did code it to receive the transaction details and update our database for that transaction. However, the shopping cart needs to get that information too so it knows if it was approved and needs to close out the shopping cart, or if it fails to bring them back to the payment screen to try again. If you look at the specs from the payment processor, it does say that the payment window will load the JSP and that the client application should be able the read the results. This is from the documentation below, any ideas?
If the responseType field reflects PostBack, THP returns with a response form to the merchant defined page (URL). If you use JSP, you can specify the JSP file in the Response URL. When the response is provided in JSP, you can store the response details in your database and send the same information to the browser using URLRewrite or jsp:forward. There are similar methods or logic for different coding technologies. For example:
If you read the specs from the credit card processor, it says that it expects the response page to be returned directly to the client / merchant application directly. I am just not sure how to do that.
It's unlikely they intend that page\response to be shown to the client. What normally happens is that response page happens as a "background" post to your site directly, it is never sent to the client. So the flow will probably be something like
1. Instigate the payment on your site
2. a request is sent to your hidden request url
that page will read the data from the request and update the database to say if the payment worked or not
3. the payment provider will return the user back to your site (probably, I haven't read the docs)
4. the page the user is returned to checks the database (that was updated in step 2) to see if the payment worked
They are shown a success or fail message, or if the background request has not been process yet show a message that will explain your payment is still being processed.
I don't even know what to call it.
I have a record row that is 100% width that shows a record. I want to add a Red Square on the right side to delete the record if I choose to offer that option. I was thinking maybe there's a way without me having to write another set of classes in which I can modify the class.
It's not entirely clear what you're asking - the CSS example you've posted completely changes the style of the same <div> element depending on whether or not it has the delete class, but that doesn't seem to match the earlier description.
Perhaps you could create a simple example in JSFiddle[^]?
Data goes here
Data goes here
Commands go here
Data goes here
I've never heard of flexbox. I decided to make a copy of the CSS file and push forward with it, while trying various ways such as min-width and max-width. And making the giant red delete button turned out much harder than expected.
I guess I should of said that I was trying to emulate the iPhone interface, in which you can delete records using the giant red button.
I'll give your idea a spin today and let you know how it works.
My customers are pushing me to create sliding rows, in which you can swipe left, and the red delete button shows.
Hello there , i finished programming my site in php i want create page or comfort with phone screen , second things is i want protect admin page when i write the url it goes to control panel i want ask for user name and pass thanks