I have to convert a custom payment gateway from magento 1.8 to 2.05,
I have created a payment module in magento2, but it is not redirecting to payment gateway url on place order.
When i select the custom payment gateway and click on place order it creates an order in backend and then redirects to the success page where there is option of pay.
Please let me know how can i fix this issue.
My requirement is that when user clicks on the place order button, it should redirect to payment gateway and then on successfully paying the amount it should redirect to success page.
Thanks in advance.
If any one have created a sample payment gateway which redirect to payment gateway url after place order it will be helpful.
Related
I'm using Odoo v12 CE.
I installed the accounting module which allows for payment acquirers to be set up.
I set up my paypal account following the guidelines from this link: https://www.odoo.com/documentation/user/12.0/ecommerce/shopper_experience/paypal.html
I already configured paypal and odoo and I can make payments when I send a quote to my customers. they get the link to the order in the customer portal and there, they can chose paypal as the payment method.
Then they are able to pay from paypal and it works. The issue is that after the payment, when they are redirected they are returned with the wrong URL.
The URL is :
http://localhost:8069/payment/paypal/dpn/?amt=1.16&cc=MXN&cm=%7B%22return_url%22%3A%20%22%2Fpayment%2Fprocess%22%7D&item_name=IDW%20Innovation%20Studio%3A%20SO118-1&item_number=SO118-1&st=Completed&tx=07600540TC4292804
If I change http://localhost:8069 to https://example.com , then it actually works and the payment is received.
I donĀ“t know what to do in order for it not to show localhost instead of mydomain.com. Is that a system parameter I have to create or something?
how to do refund paypal amount using URL.
we not like to take any username and password from user that why we not expected to use any API.
we are expecting to build URL and user will click on that link and payapl take all refund responsibility and send us IPN message same flow the way donation button works..
we are able to take donation using below url.
https://www.sandbox.paypal.com/cgi-bin/webscr?amount=10.00&bn=test&business=XXXX#.com&charset=utf-8&cmd=_donations¤cy_code=USD&email=XWXXX#gmail.com&invoice=189&item_name=Production+move&no_shipping=1¬ify_url=http%3A%2F%2Flocalhost%3A3000%2Fpaypal_ipns&return=http%3A%2F%2Flocalhost%3A3000%2Fthank-you%3Fdid%3DMTg5
iS their any way to build refund url?
we not able to found any source to build refund URL can some one help us....
There's no way to implement an URL like this without APIs, also, refund is not supposed to be a "self-service" for the payers, as any funding reversal should be initialed/authoried by your account, either from website backend (with API) or in the transaction dashboard of your PP account
I setup a Woocommerce website with Paypal and I linked a PDT token to it. When my customer buy something with Paypal they get redirect to Paypal -> Pay their items -> get redirect to the thank you page of my woocommerce.
During this last step some of my client quit Paypal website before they get redirect back to Woocommerce. Their order is now stuck on pending payment.
Is it normal to ask my customer to wait 10 seconds or click here to have their order completed.
When using PayPal Standard (which is what comes with WooCommerce by default) then yes, it's normal for the user to have to wait "up to 10 seconds" for the redirect, even with Auto-Return enabled in your PayPal account.
If you want to provide a better experience it would be recommended to enable PayPal Express Checkout instead of PayPal Standard. This can be done using the free PayPal for WooCommerce plugin.
I'm configuring a paypal payment gateway in my website, at the moment a sandbox is configured and I'm using paypal standard. Everithing works fine except for some small thing I need to discuss with you:
after user (redirected to paypal site) make the payment is there a way to redirect automatically after the payment is done...I would avoid that user has to click the link: "return to xxx website". ( I have seen and used many websites that use to redirect to paypal but after payments is done the really automatically redirect to the website...without any additional click)
I have personalized the aspect of my page under paypal account (in sandbox mode) but when i test the payment the page is not personalized but show the standard one...so my question is personalized pages works under sandbox?
For paypal standard subscribe button is required an HTTPS protocol or they accept also normal urls?
1) If you are using PayPal Payments Standard (Buttons) then you will have the return to merchant at the checkout page, this is because the payment is complete at this point. What you are thinking when you are redirected back immediately is ExpressCheckout and the merchant can process the payment immediately or by user action.
2) Yes, personalized pages work in sandbox. You need to make sure it is set as primary
3) For PayPal Payments Standard you do not need HTTPS, as the payment is handled on the Paypal website.
I want to use paypal express checkout in my application in minimum steps
like:
click on paypal button-> verify account on paypal-> back with token to my application ->
confirm the payment->successful msg ->credited into my account(user not redirect to paypal) only get success message on application
currently paypal confirm the payment of user in paypal site but i want it to my application
and user only once redirect to paypal site for account verification rest all process done in to my backhand side of asp.net application
I guess that's the way Paypal works.And where is a call to getExpressCheckoutDetails.
If you want paypal shipping details on your webpage you need to make call to this method.
It will return you shipping detail and then create a button for say "Pay" and call doExpressCheckout method of PaypalAPI to complete your transaction :D
You can try this as a starting point: https://paypal-labs.com/integrationwizard/ecpaypal/main.php (SSL is expired or invalid so you'll have to add security exception, but it works)