What payment system to use in a website? [closed] - php

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 8 years ago.
Improve this question
I have a few "ventures" for example
I would like to sell my photos that I have taken, a gallery would be displayed, the photos shown have watermarks on them / less resolution. Then for $0.10 for instance, they can download the copy.
Another one is that I would have people submit sketches of a web design and for $4.95 or something stupid like that, I would take a look at their website, possibly create it and show them a screenshot of the website then they pay the full amount for whatever price.
My point is, I need some sort of way to accept payments but also have it drive a process like give them the photo, or accept and send their scanned photo / photo after payment.
What are some good services for that? What language would that be in?

It completely depends upon how you want to setup this process.
There are many payment providers which support product listing at their end apart from Payment process like BlueSnap, Gate2shop.
And if you do not want to manage and place your photos over there then you can just write a small script which will send photos and related task on the payment completion.
Most of the payment gateway, like Paypal, support a notification URL concept in which all the payment related notifications like payment failed, completion, error etc are send to the mentioned url.
So you can give your script url here and handle all the notifications.
For Paypal integration you can check these links.
https://developer.paypal.com/
https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/archive/PP_OrderMgmt_IntegrationGuide.pdf

Give Stripe a try, it's treated us well - http://stripe.com

Related

PayPal With Automated Delivery For Digital Services [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I recently started a company, selling digital items. And I'm not too sure where I can start for automating the checkout process. I will need 4 custom variables: name, email, package, Textfield; from my customers. I will then send the digital item to their email.
I have currently set up, a PayPal button with two custom fields. I'm seeking for an easier solution maybe integrating a PayPal express check out with custom fields, but I'm not too savvy with PayPal's Api.
Any sort of guidance or code snippet examples will be helpful!
Yes, you're on the right track. I would recommend the Express Checkout API. This PayPal PHP SDK will make the API calls very quick and easy. There are demo kits available for it, too, but the samples it comes with may be enough for you to get going.
You can build your form however you want to gather whatever detail you need. Save a record of that in your DB prior to sending the user over to PayPal. This way you can include the record ID in the payment request to PayPal.
When the payment is completed you can use IPN to automatically process and deliver the purchase. You can use that to generate and send custom email notifications with attachments, update your database, hit 3rd party web services, etc. automatically, in real-time.

Swift - in app purchase - load products from mysql database [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
hi i have read in this http://www.raywenderlich.com/105365/in-app-purchases-tutorial-getting-started
but I want to do one application that can add story contents. so if anyone need to read my story content, he need to pay. so that I have created php website to allow me to add story by adding title, contents, price. then in my app, it loads data from mysql database. how can i allow user to but my story using in app purchase. because in the tutorial it said: I can create in-app-purchase consumable item in itunes connect then reload those item in my app. buy for me it is not I want. I want to control it from php server so i can insert more story or delete story. anyone can give me idea. can i do this using in-app-purchase or i need to sell my story using paypal or other framework for selling product. thank in advanced
If the story is a digital product and consumed in the app then you need to use in-app purchases.
You can only add new in-app purchases each time you release an update to the app, because they are reviewed as part of Apples approval process.
It may be possible that you can have lots of items defined in iTunes connect that you don't make available immediately, though the Apple review would need to be able to see them all or you would likely get rejected.
You probably can't create generic sale items as restoring purchases wouldn't work (at least any attempt at this approach would need to be discussed with apple in advance).

Paypal Buy Now Button [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 7 years ago.
Improve this question
I am New to PHP and PayPal Buttons
Note: I am talking about mysql item
I am Trying to Make A Shop But When Using PayPal "Buy Now" Buttons but if a customer Buys The Product What Happens Next The Website Gets The money but nothing happen to The Custom Who Bought The Product Gets Nothing
You might say you can redirect them to a Page That Gives Them their product But You Can Easily Go To The Page that gives them their product with paying
What i want is to change a mysql value to 1 from 0 if a customer pays if not then the mysql value doesn't change
Thanks :D
To do this, you should use either the PayPal Instant Payment Notification (IPN) system, PayPal Payment Data Transfer (PDT) system, or perhaps a combination of both.
This page provides a good overview of both IPN and PDT; covering their uses, features, pros and cons. In general, PDT is preferable when a website needs immediate confirmation of that a specified user has submitted a payment. On the other hand, if you and your users do not mind waiting a few minutes (or quite possibly a few hours), then IPN is the way to go. I recommend visiting the pages linked above for further information.
As a personal recommendation, I use a combination of both PDT and IPN on my e-commerce websites. However, you need to be careful doing this so you do not accidently process payments twice. (Keep a database containing transaction IDs of all processed payments and reference this database before processing a "new" payment.)

Paypal one user pay to protal and portal pay to another user [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I need to make portal that able to get money from one user and pay another user, when fill some conditions. User order some item, he must pay a portal that price, then when user pay portal, portal get some percent and other pay to user which is item which first user ordered, it's a two different transactions.
I think that paypal is good for that but I do not know how to do that.
I start to implement portal in laravel framework. Has anybody any idea how to I implement something like that.
You can achieve it by two way (as per my knowledge)
1) Using Paypal Adaptive payments
https://developer.paypal.com/docs/classic/adaptive-payments/integration-guide/APIntro/
2) First accept payments from first user(Buyer) then after keeping your percentage pay to second user (seller) by paypal transaction using email address or using any offline mode.

Is it necessary to use something else than HTML to make static website with very small dynamic content [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 9 years ago.
Improve this question
I am C/C++ developer and know basic HTML, we are planning to make website which have paypal (or maybe other vendor) integration and everything else is static content. Can I not make this website solely in HTML, many people suggesting me that, it is very essential to use server side language like ASP.Net or PHP etc for paypal integration.
Thanks.
It depends largely on what you want to do. It is possible to send request and users to PayPal without any server side code by using the PayPal forms/buttons. However in most cases this situation is not ideal as it means you have to manage what people have paid for manually by looking at the PayPal account.
Most websites (e-commerce) will have server side code which links to databases. This will handle transactions, purchase identifiers, user accounts (if applicable) and a variety of other things. You will also want server side code if you want to make use of the Instant Payment Notification system which is handy for knowing when a transaction has been successful/failed and so on.
If you want users to be able to buy something and then download it from your website you will want the later option. Unless you plan on setting up access accounts manually on a user-by-user basis.

Categories