I am a new developer in php. In a website, I need to implement "Google checkout" payment method. My client give a script with src. I added that script into my website. I got a Google checkout page.
But I don't know how to customize the style of that page
and how to update my database, if the buyer pay the amount using Google checkout. Is there any option like PayPal notify_url? If yes, how to set up such url?
You can get order state notifications using the Checkout Notification API. Start with the doc below:
http://support.google.com/checkout/sell/bin/answer.py?hl=en&answer=134463
then read the full documentation for details:
https://developers.google.com/checkout/developer/Google_Checkout_XML_API_Notification_API
Related
Hi I'm creating a third party shopping cart using paypal for my client and i need retrieve some information after the payment is confirmed. I need to send an email to the seller with the product information like color, font-family, font-size, size of the product. But i have no idea of how can i retrieve the payment confirm information from paypal and then send to the seller this email.
Does someone knows how or just could give me a hint?
Thanks.
If you're not on wordpress, you can still use IPN data: have a read here: https://developer.paypal.com/webapps/developer/docs/classic/products/instant-payment-notification/
Note that Paypal's example code is not very good, and also that their IPN simulator is not currently working properly: Paypal IPN continually returns invalid from Sandbox
The PayPal IPN for WordPress plugin will make that very simple for you.
Just install the plugin and create a basic hook in your theme's functions.php file (or create a simple custom plugin file). The plugin has hooks so you can trigger based on any IPN, or based on the IPN transaction type or payment status.
Here is a link to the general dev guide and another link specific to the hooks available.
You could have the IPN solution working and sending an email within minutes, so then it's just a matter of building your email body the way you want.
I am not sure what this is called but here is what i am looking to do.
I am trying to make a php script that will create a link between our store account and paypal buyer, so that when they click our buy button it will process the payment without any future confirmations or user actions.
I have tried the paypal sdks and integration wizard no luck, Does anyone know of a working example of what i am trying to do?
Billing agreement(also called Reference Transactions) allows customer to agree the payment once on your website or app, then you call an API with the billing agreement ID to tell PayPal to charge the customer. Please see document here . You will need to contact PayPal to enable you to use Billing agreement, it's not easy to get approval:(
Integrating Paypal buttons are pretty straightforward.
Go to your merchant account.
Go to your Create Paypal Button page.
Choose whatever the button types you want. Configure it with Price etc.
Now just copy and paste the code generated.
It just works.
P.S
There is an option in your merchant account page to set the returning address from Paypal. You can set a returning page and catch all the transaction details via HTTP Post method when it is called by Paypal.
There is this Sandbox account type in Paypal which you can do a lot of playing with.
I am trying to integrate Stripe on a Symfony2 project, and the only payment method I see on their documentation is the "Pay with card" button https://stripe.com/docs/checkout which creates an embedded popup on my project. But the problem is that I need the users to insert their credit card number on Stripe's website, just like Paypal does. Is there any payment method that Stripe provides, and get all the user's informations from a form that is on their website?
Thank you.
Stripe doesn't offer a redirection to its site to collect card details. (source)
In most instances, buyers don't even know they're using Stripe to pay.
To collect card details and turn them into a token, you can either:
use Checkout, a premade form with some customization options, or
make your own form using Stripe.js.
If neither of these is an option for you, you can check the list of Stripe third-party integrations to see if something fits your needs.
This is now possible.
Stripe customers are now able to use Client-only Checkout feature which is currently in beta. Flow is the same as with PayPal - users will be redirected to Stripe-hosted checkout website.
Directing customers to Stripe to make payments online
I am working on a PHP website with Google checkout Payment. I need to get the transaction id in the merchant calculation page using API Call back url. What method can I use for this?
Google Checkout offers a service similar to Paypal's IPN where they send all of the transaction information to a URL you specify. This includes the transaction number.
Background
I'm building a website where I need to use some sort of recurring billing payment method. My client does not have Paypal's Website Payments Pro so he decided to use a simple Subscribe button.
Problem
This is all nice and easy to use but how would I get a notification from Paypal when such a payment has been made? I had some experience with Paypal before and there was a field return_url that would be accessed by Paypal to notify the website but checking the variables on their site this field does not exist anymore or perhaps not available with this type of button.
when you create subscribe button that time you will find that option(in step 3) , so according your need you can set url and get ipn variable
Step 3: Customize advanced features (optional)
Take customers to this URL when they cancel their checkout
http://yourwebsite/complete_registration.php?action=cancel&sts=0
Take customers to this URL when they finish checkout
http://yourwebsite/complete_registration.php
Advanced variables
notify_url=http://yourwebsite/complete_registration.php
i hope it help you