Payment Gateway WechatPay
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: Payment Gateway WechatPay
Your config/shop.php is OK. In the latest stack trace, the error originates from:
https://github.com/aimeos/ai-client-htm ... rd.php#L66
But this is only where the error is written to the output, not the exception itself.
https://github.com/aimeos/ai-client-htm ... rd.php#L66
But this is only where the error is written to the output, not the exception itself.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Payment Gateway WechatPay
Thanks.
I think it blows up here. looking for a file body-standard.blade.php that does not exist.
I am not sure if I should provide that file or that file should not be called for.
Regards,
I think it blows up here. looking for a file body-standard.blade.php that does not exist.
I am not sure if I should provide that file or that file should not be called for.
Regards,
- Attachments
-
- body-standard.blade.php-missing.png (161.3 KiB) Viewed 2265 times
Re: Payment Gateway WechatPay
The view implementation tests if there's a body-standard.blade.php file available and prefers it over a body-standard.php but that should be not a problem and is also not related to your initially posted error message.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Payment Gateway WechatPay
The issue is with wechat credential. Thanks
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Payment Gateway WechatPay
Greetings,
in the method getData
$data['spbill_create_ip'] = $this->getValue( 'client.ipaddress' );
is null.
Anyway to fix it?
Regards,
in the method getData
$data['spbill_create_ip'] = $this->getValue( 'client.ipaddress' );
is null.
Anyway to fix it?
Regards,
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Payment Gateway WechatPay
I tried also PaypalPlus and PaypalExpress. The former has the same issue of 'client.ipaddress' to be null and the later is built in and does not call the Omnipay::getData.
Regards,
Regards,
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Payment Gateway WechatPay
Figured this one out. client.ipaddress needs to be set in the payment configuration.
I still get payment failure though. Trying to find out where the issue is.
Regards,
I still get payment failure though. Trying to find out where the issue is.
Regards,
Re: Payment Gateway WechatPay
Laravel should return the client IP address here:
https://github.com/aimeos/ai-laravel/bl ... l5.php#L48
If not, then it's something you need to check in the Laravel code.
https://github.com/aimeos/ai-laravel/bl ... l5.php#L48
If not, then it's something you need to check in the Laravel code.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Payment Gateway WechatPay
Sorry, I do not know enough to answer CCavenue question. I am still struggling with WechatPay.
I am able to make some progress, got SUCCESS response from WechatPay gateway (see attached imageJ).
But it still gave error at the end>
I am able to make some progress, got SUCCESS response from WechatPay gateway (see attached imageJ).
But it still gave error at the end>
- Attachments
-
- enderror.png (14.34 KiB) Viewed 2131 times
-
- wechatpayresponse.png (40.31 KiB) Viewed 2131 times
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Payment Gateway WechatPay
It seems complaining the frontend::create first parameter '$context' has cache to be null.
Regards,
Regards,
- Attachments
-
- contextcachenull.png (215.68 KiB) Viewed 2130 times