https://github.com/pimcore/payment-provider-payu
PayU payment integration for Pimcore Ecommerce Framework (community bundle)
https://github.com/pimcore/payment-provider-payu
payment-integration pimcore
Last synced: 9 months ago
JSON representation
PayU payment integration for Pimcore Ecommerce Framework (community bundle)
- Host: GitHub
- URL: https://github.com/pimcore/payment-provider-payu
- Owner: pimcore
- License: other
- Created: 2021-01-26T18:34:13.000Z (over 5 years ago)
- Default Branch: 2.x
- Last Pushed: 2025-01-17T10:31:54.000Z (over 1 year ago)
- Last Synced: 2025-07-29T01:04:10.181Z (10 months ago)
- Topics: payment-integration, pimcore
- Language: PHP
- Homepage:
- Size: 83 KB
- Stars: 0
- Watchers: 10
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: License.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Pimcore E-Commerce Framework Payment Provider - PayU
###Official PayU Documentation
* [Documentation](http://developers.payu.com/en/restapi.html)
## Installation
Install latest version with composer:
```bash
composer require pimcore/payment-provider-payu
```
Enable bundle via console or extensions manager in Pimcore backend:
```bash
php bin/console pimcore:bundle:enable PimcorePaymentProviderPayUBundle
php bin/console pimcore:bundle:install PimcorePaymentProviderPayUBundle
```
## Configuration
The Payment Manager is responsible for implementation
of different Payment Provider to integrate them into the framework.
For more information about Payment Manager, see
[Payment Manager Docs](../13_Checkout_Manager/07_Integrating_Payment.md).
Configure payment provider in the `pimcore_ecommerce_config.payment_manager` config section:
```yaml
pimcore_ecommerce_framework:
payment_manager:
providers:
payment.method.payu:
provider_id: Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\PayU
profile: 'sandbox'
profiles:
sandbox:
pos_id: '1234'
md5_key: 'c077211eecaf832644edc5a564a68015'
oauth_client_id: '1234'
oauth_client_secret: '0c68dfa4f61b65fa534b48d95e1c9d91'
```
Payment Information: Order payment section "Payment Informations" stores information about every payment trial by Customer.
Add additional fields in "PaymentInfo" fieldcollection, so that Order Manager stores information in Order object:

*usage sample*
```php
$paymentId,
'notifyUrl' => $baseUrl . $this->router->generate('payment_payu_status'),
'customerIp' => $clientIp,
'description' => 'My order',
'continueUrl' => $baseUrl . $this->router->generate('payment_payu_continue'),
'order' => $order
];
$payment->initPayment($price, $config);
```