craftcms / commerce-paypal-checkout

PayPal Checkout gateway for Craft Commerce.
https://plugins.craftcms.com/commerce-paypal-checkout
MIT License
5 stars 10 forks source link

Gateway redirects to "paypal result id" when trying to pay #61

Closed boboldehampsink closed 2 years ago

boboldehampsink commented 2 years ago

Description Gateway redirects to "paypal result id" when trying to pay

To Reproduce How, and what happened?

  1. When selecting this gateway and then submitting to commerce/payments/pay, I get redirected to just the paypal result id.

Expected behavior I expect to be redirected to Paypal

Additional info

Additional context Looking in the source code of this plugin I see that this line might be responsible: https://github.com/craftcms/commerce-paypal-checkout/blob/develop/src/responses/CheckoutResponse.php#L146

vandres commented 1 year ago

@boboldehampsink How did you solve it? I am having big troubles getting the PayPal-integration to work

boboldehampsink commented 1 year ago

You have to implement the payment form. It has no direct offsite handler.

vandres commented 1 year ago

@boboldehampsink May I contact you? My E-Mail is andres@voan.ch

boboldehampsink commented 1 year ago

Sure