Showing results for 
Search instead for 
Did you mean: 

PayPal Integration With Laravel marketplace platform

New Community Member
Posted on

Hey. I'm developing web platform for online stores. so there are lot of buyers and sellers. so seller can create store and buyers can buy any thing though that stores. so i want to make paypal as default payment method in this website. 


so i have gone though paypal developer docs and i have integrated login with paypal button to sellers account so when they logged with paypal. we have get their user data and stored their paypal email. 


so now i want to develop buyers side , can you help me how to add buy now button and when buyer click that button and when they payed that amount should be transfer to the sellers account which we stored email.

so i have integrated html form which in your docs. but in there after success it's not auto return to store. so i can't get success or cancel respond. 


this is a cod which i used in buyers part .



<form action="" method="post">
    <input type="hidden" name="business" value="seller_email">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="item_name" value="Items From Apps World">
    <input type="hidden" name="amount" value="100">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="rm" value="2">
    <input type="hidden" name="return" value="">
    <!-- Display the payment button. -->
    <input type="image" name="submit" border="0" src=""
        alt="Buy Now">
    <img alt="" border="0" width="1" height="1" src="">

So any one tell me how to get responde with that method or. is there another method to do that. 



so this project is using laravel 5.7.

so example this project is like

and this is a US project

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.