-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update PaymentRequest.php #14
Conversation
make params protected
What about method |
would be a fine alternative solution |
Cool, will be merged after update. |
make params private again add setParam function
I am afraid it won't be as simple as that. If you for example do |
@romanklabal so solution can be, prepare params for digest alone, via some filter out access? |
@newPOPE looking at the documentation (page 8), the |
@romanklabal what about this 0289bcb ? |
I like it! |
we got one more problem so in my view, we have three possibilities:
|
@siwa-pparzer hi, can you code a test case with problematic scenario. I can help you with implementation afterwards. |
As you can see, the PAYMETHOD (PaymentRequest::PAYMENT_CARD) is set via constructor.
|
could be something like this: |
did you check this already? |
Ou sorry, missed a notification before. So, I read comments before and I'm correct understand the problem solution (sound fine for me is a 1. add a sorting function with all param names) can you add it? |
make $params protected to add the possibility to override the PaymentRequest class.
for example: if you want to add a parameter to the URL (e.g. USERPARAM1 for recurring payments), currently this cannot be done