Am working with imevent theme template(I bought it) to build an event page.It has two registration options.1 register without paypal 2. register with paypal.The first option sends the registration details to an email. Is there a way i can then redirect to paypal to enable client to pay via credit or debit card. That is after sending registration details to a specified email.?
Related
I tried to send the form via E-mail after customer done the successful payment via Razorpay.
I used the Razorpay quick payments plugin for payment gateway and contact form 7, the issue is there will be two buttons for Payment button (Razorpay) and submit button (to send a mail-form submission) and I would like to have a single button as Payment.
When the user done the payment the user filled form should be triggered to send a mail as we configured in contact form 7.
Please give a solution, how can I get it
I'm currently working on the wordpress ecwid plugin. In order to develop my own payment method, I downloaded on github their payment gateway template that I'm now trying to install on my wordpress ecwid shop without success. Please, would you know how to proceed? Thank you for your attention.
It's Gunter from Ecwid team. I see you reached out to us via email too. We've addressed the email request. And we will post the answer here too, just in case.
If you want to integrate a custom payment to your Ecwid store, you should follow these steps:
Register a custom app. You can do that at this direct link: https://my.ecwid.com/#develop-apps
Provide us with the payment URL (your own server) to which Ecwid will send the payment requests. You can send us your URL to apps#ecwid.com email and we'll add it to your app.
After that, when your customers choose your own payment at checkout and click on the “Pay” button, Ecwid will send a POST request with the cart data to your server payment URL. And your customer will be also redirected to this URL. So, you can show any external page to them after redirection.
After redirection, your server needs to get cart details from the request, decrypt it and send it to the payment provider in a correct format for processing. After the payment is processed, your server needs to update the order status and redirect the customers back to the Ecwid storefront.
You can find more details about how the custom payment apps work here: https://api-docs.ecwid.com/docs/how-payment-method-works
I am implementing an ASP.NET web app where the user will fill an application that spans over multiple steps/Pages, with previous/Next buttons on each page to navigate back and forth to each step.
On the second step/page, I have a paypal payment button, so the user can pay for the services they selected on the first page.
My requirements is to wait for the user to pay with paypal and get the notification that a payment was received then navigate to the next page automatically. The user should not be able to proceed without payment.
The paypal payment button opens a new window with paypal site where the user makes the payment.
I looked at Paypal IPN (Instant Payment Notification), Paypal can send the notification to a service on the back-end in the web app, but how can I forward the user to the next page once this notification is received, since this service is not tied directly to the page that the user has opened on his browser?
The one way I am thinking to do is to store the payment in some table with the userid and a unique code and have a javascript function with setInterval(checkPayment, 5000); so every 5 seconds, it calls a service to check if there was a payment and forward the user.
Is there any better solution ?
Better solution is to NOT involve IPN in your checkout flow. As stated:
Because IPN is not a real-time service, your checkout flow should not wait for the IPN message before it is allowed to complete.
REF: https://developer.paypal.com/docs/classic/products/instant-payment-notification/
Paypal has an extensive API that handles your flow - e.g
Express Checkout
REST
Is there a way I can pass the sellers credentials to the Paypal API and it can make a transaction without taking him to Paypal URL?
TL. DR.
I am trying to build an eCommerce website for a shop with Paypal as the payment medium. The payment for user has been implemented where he is redirected to the Paypal website and he can purchase an item. But under certain conditions he is allowed to cancel his purchase and his payment must be credited back to him.
I need this transaction to happen without navigating to the Paypal URL.The reason is that, the buyer is the one initiating the transaction. So there is no way he can authorize a transfer from sellers to buyers account. The buyer should be able to press the "Cancel Order" button and the payment should be immediately credited back to his paypal account.
I can store the sellers credentials in the server and send it to the API which should be able to authorize him but I was looking for an API which Paypal provides to make this happen.
My requirement is different from the anser provided in this question as here they still show a popup of paypal webpage.
Now information about the successful transaction I get with a redirect the user back to my site from paypal. And then I make additional requests to api paypal.
But if the user cancels the redirect to my site, for some reason, I do not get the information about the transaction.
Is there an asynchronous notification from Paypal for Website Payments Standard or Express Checkout?
Instant Payment Notification (IPN) works for all payment methods through PayPal. The Developer.PayPal.com document you linked is a list of variables for the Express Checkout feature and it is telling you that you can only pass the NOTIFYURL variable successfully in the DoExpressCheckoutPayment API call.
In Payments Standard transactions you'll use the notify_url variable.
You can also just enable IPN within your account to have an IPN post sent to your notification page when any payment completes - regardless of whether or not you define a URL in the button code or API request (the URL you define in the code will always override what is set in your account).