Can I send a variable to paypal, and have it post it back to me when payment completes?

Iten_number hidden variable don’t work in my application. But i found that custom hidden field works fine. Just add this field to the form, generated by paypal: <input type=”hidden” name=”custom” value=”YOUR VALUE FROM DB”/>. After, you can read this value to identify, for example, what product have been purchased. (Java code): String custom = request.getParameter(“custom”);

Notify URL of PayPal

PayPal returns data back to your site via what they call IPN. Its really just a callback to a URL you specify. You can set this URL via the variable notify_url you can send to PayPal. Example: <input name=”notify_url” value=”http://yourdomain.com/notify_url.php” type=”hidden”> The notify_url.php in the example above receives some POST variables from PayPal when the … Read more

Paypal Access – SSL certificate: unable to get local issuer certificate

The correct solution is to fix your PHP setup.. setting CURLOPT_SSL_VERIFYPEER to false is a quick hack, but it’s wrong as you disable the certificate validation by it’s certificate authority. This exposes you to a man-in-the-middle attack. It’s easy to fix (php 5.3.7 or higher) – Download a list file with an up-to-date certificate authorities, … Read more

WooCommerce hook for “after payment complete” actions

Okay, I’ve come up with a couple possible solutions. DEALING WITH PAYMENT VERIFICATION WooCommerce’s Paypal Standard gateway actually has support for Paypal’s IPN service built right in to it. You’ll want to use that regardless of the ‘hook’ route you choose. HOW TO SET UP PAYPAL IPN Paypal IPN is connected to whichever account is … Read more

How to send money to any paypal account

You’ve got two main options: use the MassPay API or Adaptive Payments API. Note: Adaptive Payments is not available for new integrations. PayPal provides documentation to only support existing integrations The Adaptive Payments option gives you a lot more control over the payment and is the future direction of the Paypal APIs. It supports SOAP, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)