Skip to content
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

Where is procid? #2

Closed
eureckou opened this issue Oct 23, 2018 · 4 comments
Closed

Where is procid? #2

eureckou opened this issue Oct 23, 2018 · 4 comments

Comments

@eureckou
Copy link

I apologize if this is more of a request and not an issue but anyways I was using your code before and also procid was missing. I was hoping you'll include it in this release but did not. I was wondering why?

Here's an excerpt from Dragonpay PS doc for reference "to give user the capability to go straight to that channel without stopping by the Dragonpay payment selection page by passing a “procid” parameter".

@crazymeeks
Copy link
Owner

@eureckou, Thanks! will include this in the next 3.1.0 release!

@crazymeeks
Copy link
Owner

@eureckou , "procid" was added in v3.1.0. Just import Crazymeeks\Foundation\PaymentGateway\Options\Processor class.
Options available:
Processor::GCASH
Processor::CREDIT_CARD
Processor::PAYPAL

Example Usage:
$dragonpay = new Dragonpay();
$dragonpay->setParameters($parameters)
->withProcid(Processor::CREDIT_CARD)->away();

@eureckou
Copy link
Author

eureckou commented Nov 5, 2018

Thanks for taking time with the procid but I was really hoping to use Dragonpay Prepaid Credits. Can I just include Processor::DPAY?

Edit: I just added DPAY in Processor.php and it worked like a charm. Thanks!

@crazymeeks
Copy link
Owner

crazymeeks commented Nov 11, 2018

@eureckou , You can also contribute to this library. I am more than happy if you do 👍
BTW , instead of editing directly the source code, you can add additional parameters like below:
$dragonpay->parameters->add([‘name’ => ‘value’]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants