how to handle multiple paypal buttons on the same form [closed] - paypal

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I have three items, and next to each have the paypal "addtocart" button. each button works if it's the only one on the page ... I believe that's because each button is wrapped in it's own form tags. How can I get multple buttons on the page?
I have tried single form tag, renaming the cmd buttons and image, but then they just go to the paypal home page. How can I do this?

It sounds like you're using a regular Buy Now button. You need to make sure you're using an actual Add to Cart button. The buttons will still be within their own form tags, but they're a little different to handle the different tasks. Then you'll also include (optionally) a View Cart button.
Here's another guide that should be useful.

Related

there's anyone know how to load webview flutter without header or footer? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I want to show a particular website in a widget but without header and footer. is this possible in Flutter? i tried with webview flutter and can't find it
If the website is developed by you, you should do the checking of user agent in backend, and response different versions of the web page respectively.
If the website is not developed by you, one of the approach I could think of is using WebViewController.evaluateJavascript method to inject some JavaScript to hide/remove the DOM from the webpage.
I'm using this package for simple my webviews webview_package

Swift 3 - "Clickwrap"-style agreement to Privacy Policy with UIAlertController [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I want to have my app display a UIAlertController to a new user that forces them to agree the Privacy Policy (or close the app). My Privacy Policy is hosted online. I am already capable of displaying an alert, but using buttons to link to the PP inevitably cause the alert to be dismissed after being pressed (after much searching, it seems this can not be changed without creating a custom controller).
I'd be happy to have the words "Privacy Policy" be a hyperlink in the alert, with a single "I Agree" button, but I've found that many people say this is counter to the almighty guidelines (despite my recollection that many iOS apps do this).
How can I best What are some ways to create a "clickwrap" agreement with the user using a UIAlertController?
Don't use a UIAlertController. Don't use a link to something online. Include the text of the privacy policy in the app. Use a custom presented view controller as your modal dialog. It can be small and even look quite a lot like a system alert, but it will contain your text in a text view and the desired buttons, right there in the dialog.
(Instead of a text view, you could have a web view that loads the text from your web site, but this risks lack of connectivity at the key moment. Better to have the policy text built into the app.)

How to setup Paypal on a website to accept varying amounts for user to use their credit card? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
I am very confused by Paypal's site. Does anyone have any direction on how to setup Paypal knowing the following information?
I need users to be able to invoice and use credit cards.
There will be a value that is unknown until the time of checkout.
With Paypal, they want to see certain POST variables to know who you are, how much is being charged, if there is tax etc... In the past, I have just written some javascript functions to adjust these values before they are submitted.
For example, here is the paypal documentation. https://www.paypal.com/us/cgi-bin/webscr?cmd=_pdn_xclick_techview_outside
Creating a javascript function to change value="12.99" to value="Whatever" before the user clicks the Pay Now button is one way to do it.
Knowing more about how this value is created etc, would determine how the javascript (or JQuery) function looks.

How can I change Facebook comment iframe position? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
In my Wordpress blog, I want to change the Facebook comment iframe position in my single posts.
It is currently at the end of the post but I want to move it to under the line to the "No Comments yet." part.
You have added the code in the wrong position.
You need to remove the code from inside <div class="entry"> place and move it the bottom inside of <div id="comments">.
If you provide us with the simplified code you are using, we can show you where it needs to be placed.
Update: Since you are using wordpress, then you may have to contact the developer to ask them to change it. If you are using placeable code, then please show us.
Like #Jason said, 1) ask the developer or 2) edit the plugin yourself (kinda hard).
3) Use the Facebook comments https://developers.facebook.com/docs/reference/plugins/comments/ and place it as you like!

Dynamically generated page URLs don't work this morning [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
This morning dynamically generated links to FB pages from our app stopped working. Link to a page like this http://www.facebook.com/pages/125567350861413 used to work just fine, now it requires page name http://www.facebook.com/pages/Daniels-Real-Estate/125567350861413
Why would this be changed? Was there a problem with old pages link format?
We tweaked our code to take into account page name and made it work. But if a user changes the name of a page the link to this page will break, until we refresh the list of pages in our db. We'll write a chron job that will refresh the list of page names for all users using our app multiple times a day, but we'd prefer not having to do that.
Anyone else ran into this issue? What was your workaround (other than the above)?
While this is probably an off-topic question, you can get the page url using the graph api:
http://graph.facebook.com/125567350861413 and looking at the link property. As to why Facebook changed this, you would have to ask them at their developer group or log a bug.