# How to use Rapyd payment form in php?

**URL:** <https://community.rapyd.net/t/how-to-use-rapyd-payment-form-in-php/37970>\
**Category:** ⚙️ API\
**Tags:** open-discussion, payment-link, php\
**Created:** [July 27, 2022, 10:56am UTC](https://community.rapyd.net/t/how-to-use-rapyd-payment-form-in-php/37970 "2022-07-27T10:56:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abrar](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/abrar/32/4378_2.png) [@abrar](https://community.rapyd.net/u/abrar)\
**Post date:** [July 27, 2022, 10:56am UTC](https://community.rapyd.net/t/how-to-use-rapyd-payment-form-in-php/37970/1 "2022-07-27T10:56:48Z")

</div>

I am generating the payment link in PHP. but now I want to use custom form of Rapyd in my web.

---

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [July 27, 2022, 5:03pm UTC](https://community.rapyd.net/t/how-to-use-rapyd-payment-form-in-php/37970/2 "2022-07-27T17:03:24Z")

</div>

Here’s actually a recent guide on a [PHP integration with Rapyd](https://community.rapyd.net/t/php-payment-gateway-integration-with-rapyd/35921).

Are you planning on using the using a direct API Integration - [Create Payment Request](https://docs.rapyd.net/build-with-rapyd/reference/payment-object#create-payment) or a [Hosted Checkout Page](https://docs.rapyd.net/build-with-rapyd/reference/checkout-page-object)? If you are looking for a form, HCP is the way to go, otherwise with the API integration you build your own form.
