oc-shopaholic / oc-omnipay-shopaholic-plugin

💳 Payment gaytways extension for Shopaholic plugin
GNU General Public License v3.0
13 stars 6 forks source link

PayPal REST Gateway token generation #26

Open fmalizia21 opened 2 years ago

fmalizia21 commented 2 years ago

Hello,

I'm using the plugin lovata-paypalshopaholic in combination with lovata-omnipayshopaholic and I have a problem with the generation of token for the REST call do PayPal. If in the configuration of payment method I omit the token, your plugin should generate it, but it doesn't happen because the class:

vendor/omnipay/paypal/src/Message/RestTokenRequest.php at line 39 doesn't have the values clientId and secret. How can I resolve this?

Thank you for your support

kharanenka commented 2 years ago

Hi! Did you fill client ID and secret key in payment gateway settings in backend?

fmalizia21 commented 1 year ago

Hi! Yes of course, I fill client ID and secret key in the backend

kharanenka commented 1 year ago

Hi! It is strange because Paypal plugin takes these values from the payment gateway settings