Search the Community
Showing results for tags 'Paypal'.
-
I'd like to know if it's possible for you to integrate Paypal to the Form Builder module. I'd like to use the Form Builder to build a paid job listing. Job submissions would be only published to the site after the payment via Paypal (standard checkout). Could you tell me if this would be something you'd consider adding? That's the only thing keeping me from building this project with PW right now
-
Hi, I create this paypal form by paypal site. <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="N922SN77XG7WE"> <table> <tr><td><input type="hidden" name="on0" value="Scegli uno di questi PIANI DI ASSUNZIONE A DISTANZA. Grazie!">Seleziona e clicca. Grazie!</td></tr><tr><td><select name="os0"> <option value="BRONZE - </option> <option value="SILVER - </option> <option value="GOLD - </option> <option value="PLATINUM - </option> <option value="DIAMOND - e</option> </select> </td></tr> </table> <input type="hidden" name="currency_code" value="EUR"> <input type="image" src="https://www.paypalobjects.com/it_IT/IT/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal"> <img style="text-align:center;" alt="" border="0" src="https://www.paypalobjects.com/it_IT/i/scr/pixel.gif" width="1" height="1"> </form> Now I put it into my html file template. Ok. But can I put it into another file html? It isn't part of the template! The same template I use in another pages, but that form don't want is there and anywhere! Exist a form modules for processwire, with an api or code - string for link it from template file? Excuse me if I don't explain my problem well.
-
Payment methods integrated with Shop Module... Stripe anyone?
Alex posted a topic in Getting Started
I’ve been playing with the Shop module a little bit, its really impressive. Wondering if anyone has integrated it with Stripe Checkout so you get that lovely mobile friendly overlay which feels like you’re still on the same website, rather than the Paypal-leave-the-page experience. You can’t customise the Paypal payment page right? Foxycart is also on the radar but the Processwire shop module is just so nice to use and easy to set up, it would be great to have a payment option with a better customer experience than the Paypal one. Alex- 1 reply
-
- stripe
- SHOP-FOR-PROCESSWIRE
-
(and 1 more)
Tagged with:
-
Hi all, I have been struggling lately to get TinyMCE to accept PayPal buttons (or as the code goes - Form). My solution - to use html_entity_decode($body); to render the button properly, which works fine. However my problem is that TinyMCE will strip down the <p> tag from the PayPal form and won't allow for secondary styling e.g. align left, right, centre. I wonder whether any of you had come across any solutions?
-
Hi guys, I'd like to build a job listing section where anyone can submit jobs (with no user registration required) and job entries/pages would be created only after a payment through Paypal is received. So I was wondering if there's a PW module like Formidable Pro Paypal for WordPress. I know there's Form Builder, but is it suitable in this case? Does it have integration with Paypal?
-
Hello Community, I have a directory structure like this: [website] |- libs // This folder is not part of PW |- paypal |- ipn.php |- site |- wire The problem is that I cannot access $pages inside /website/libs/paypal/ipn.php. Paypal IPN will point to this file: http://mysite.com/libs/paypal/ipn.php <?php $productid = $pages->get(1332); var_dump($productid); // read the post from PayPal system and add 'cmd' $req = 'cmd=' . urlencode('_notify-validate'); foreach ($_POST as $key => $value) { $value = urlencode(stripslashes($value)); $req .= "&$key=$value"; } $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://www.paypal.com/cgi-bin/webscr'); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_POSTFIELDS, $req); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Host: www.paypal.com')); $res = curl_exec($ch); curl_close($ch); // assign posted variables to local variables $item_name = $_POST['item_name']; $item_number = $_POST['item_number']; $payment_status = $_POST['payment_status']; $payment_amount = $_POST['mc_gross']; $payment_currency = $_POST['mc_currency']; $txn_id = $_POST['txn_id']; $receiver_email = $_POST['receiver_email']; $payer_email = $_POST['payer_email']; if (strcmp ($res, "VERIFIED") == 0) { // check the payment_status is Completed // check that txn_id has not been previously processed // check that receiver_email is your Primary PayPal email // check that payment_amount/payment_currency are correct // process payment } else if (strcmp ($res, "INVALID") == 0) { // log for manual investigation } ?> Thanks!