wp-pay-gateways / omnikassa-2
Rabo Smart Pay driver for the WordPress payment processing library.
Installs: 23 661
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 4
Type:wordpress-plugin
Requires
- php: >=8.1
- automattic/jetpack-autoloader: ^3.0
- justinrainbow/json-schema: ^5.2
- pronamic/wp-http: ^1.2
- wp-pay/core: ^4.17
Requires (Dev)
- humanmade/psalm-plugin-wordpress: ^3.1
- overtrue/phplint: ^9.1
- php-coveralls/php-coveralls: ^2.7
- phpmd/phpmd: ^2.15
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.11
- pronamic/pronamic-cli: ^1.1
- pronamic/wp-coding-standards: ^2.2
- pronamic/wp-documentor: ^1.4
- roots/wordpress: ^6.4
- sirbrillig/phpcs-variable-analysis: ^2.11
- slevomat/coding-standard: ^8.15
- szepeviktor/phpstan-wordpress: ^1.3
- vimeo/psalm: ^5.24
- wordpress/sqlite-database-integration: ^2.1
- wp-phpunit/wp-phpunit: ^6.5
- yoast/phpunit-polyfills: ^2.0
- dev-main
- v4.8.0
- v4.7.2
- v4.7.1
- v4.7.0
- v4.6.0
- v4.5.4
- v4.5.3
- v4.5.2
- v4.5.1
- v4.5.0
- v4.4.5
- v4.4.4
- v4.4.3
- v4.4.2
- v4.4.1
- v4.4.0
- v4.3.0
- v4.2.0
- v4.1.1
- v4.1.0
- v4.0.0
- v3.0.1
- v3.0.0
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.10
- v2.1.9
- v2.1.8
- v2.1.7
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.0.0
This package is auto-updated.
Last update: 2024-12-17 13:53:38 UTC
README
Pronamic Pay → Gateway → Rabo Smart Pay
Rabo Smart Pay driver for the WordPress payment processing library.
Table of contents
Status
WordPress Filters
pronamic_pay_omnikassa_2_request_args
add_filter( 'pronamic_pay_omnikassa_2_request_args', function( $args ) { $args['timeout'] = 3600; return $args; } );
pronamic_pay_omnikassa_2_merchant_return_url
add_filter( 'pronamic_pay_omnikassa_2_merchant_return_url', function( $url ) { $url = 'https://example.com/'; return $url; } );
Errors
Simulate Requests
Refresh
curl --request GET https://betalen.rabobank.nl/omnikassa-api/gatekeeper/refresh \
--header "Authorization: Bearer __refresh_token__" \
--connect-timeout 5 \
--max-time 5 \
--user-agent "WordPress/4.9.8; https://example.com/" \
--verbose
Order
curl --request POST https://betalen.rabobank.nl/omnikassa-api-sandbox/order/server/api/order \
--header "Authorization: Bearer __refresh_token__" \
--connect-timeout 5 \
--max-time 5 \
--user-agent "WordPress/4.9.8; https://example.com/" \
--verbose
Notification
curl --request POST "https://example.com/wp-json/pronamic-pay/omnikassa-2/v1/webhook" \
--data-binary "@tests/json/notification.json" \
--user-agent "Java/1.8.0" \
--verbose
http POST https://example.com/wp-json/pronamic-pay/omnikassa-2/v1/webhook @tests/json/notification.json User-Agent:Java/1.8.0
Event
curl --request GET https://betalen.rabobank.nl/omnikassa-api-sandbox/order/server/api/events/results/merchant.order.status.changed \
--header "Authorization: Bearer __refresh_token__" \
--connect-timeout 5 \
--max-time 5 \
--user-agent "WordPress/4.9.8; https://example.com/" \
--verbose
curl --request GET https://betalen.rabobank.nl/omnikassa-api/order/server/api/events/results/merchant.order.status.changed \
--header "Authorization: Bearer __refresh_token__" \
--connect-timeout 5 \
--max-time 5 \
--user-agent "WordPress/4.9.8; https://example.com/" \
--verbose
Webhook
The Pronamic Pay OmniKassa 2.0 gateway can handle OmniKassa 2.0 notifications via the WordPress REST API.
Route: /wp-json/pronamic-pay/omnikassa-2/v1/webhook
The WordPress REST API OmniKassa 2.0 webhook can be tested with for example cURL, see for an example the Simulate Requests section.
In principle it is not possible to view this REST API endpoint via your web browser because it is a HTTP POST
method only endpoint.
However, the WordPress REST API has the option to override the HTTP method via the _method
parameter.
/wp-json/pronamic-pay/omnikassa-2/v1/webhook?_method=POST