Issue with a custom gateway plugin when Give version is 2.8+ #6285
Replies: 1 comment 9 replies
-
Hi @maximestd We recognize how confusing and difficult creating a custom GiveWP gateway can be. That why we've actually been working on a new gateway api that will make creating custom gateways much simpler. It's technically included in GiveWP as of version 2.18.0/2.19.0 but we haven't announced it to the developer community yet because we're updating our own gateways to use it first. That being said, your use case sounds like a good candidate for this new api. Would you be interested in trying it out? We could supply you with some documentation to get started but you might need to give us some more information or even code samples about what your building to make sure it's currently possible. Let me know what you think, Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi, I developped a plugin to add a gateway to Give.
I have an issue when the donation form redirect to my gateway since the 2.8 version. When I click on the button to validate the donation, I am redirected to the url with "?payment-mode=[mygateway]" but doesn't redirect to the gateway url.
In 2.7.5 version that works correctly, after the url with "?payment-mode=[mygateway]", I am redirected to my gateway url.
I tried to find what changes were done with 2.8 but without success.
Can a developer help me ?
More info : Currently I use the hook 'give_gateway_{$gateway}' to add a function who set up the data form which should be sent to the gateway and this data form has an "action= [the gateway redirect url]"
I am testing on a dev environment.
Thanks.
Edit : It looks like it's the "echo" of my form which doesn't work. I need to use POST method to send the form data so how can I do that ?
Beta Was this translation helpful? Give feedback.
All reactions